Decorator-based Model Context Protocol (MCP) provider framework for NestJS — @McpProvider/@McpTool/@McpResource/@McpPrompt with scope-based tool filtering and Streamable HTTP transport.
Three tools with clear naming (verb-first: roll-dice, list-notes, add-note) and documented schemas. Descriptions are present but brief (10-50 chars), below the 50-200 char LLM-optimized baseline. Parameters have types and descriptions, but output schemas are not documented. No error handling guidance or recovery paths. Scope-based permission model is well-designed but not reflected in tool descriptions.
Append a note (requires a write scope).
List all notes.
Roll N dice with S sides and return each result plus the total.
Descriptions are too brief (10-50 chars vs 50-200 char baseline). 'List all notes' and 'Roll N dice...' lack context for LLM selection and do not explain when to use each tool or what they return.
Output schemas are not documented. LLMs cannot infer what fields roll-dice returns (individual rolls vs total?) or what list-notes yields (note IDs, text, timestamps?). Downstream tool chaining is impossible without guessing.
No error handling guidance. If add-note fails (text too long, storage full), the LLM receives no recovery path. No distinction between retryable and user-fixable errors.
Scope-based permission model (read/write) is implemented server-side but not surfaced in tool descriptions. LLMs cannot see that add-note requires 'write' scope or that list-notes is read-only without calling /mcp/info.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
list-notes has no pagination parameters (limit, offset, cursor). If notes grow large, the tool will return all records, bloating context and risking token exhaustion.