MCP server with HTTP-streamable transport, permission-based access control, and dynamic tool generation based on user permissions from external API
Mixed quality across 6 tools. Three basic arithmetic/echo tools (add, echo, multiply) have minimal but present descriptions and proper integer schemas. Three domain-specific tools (search_users, search_entities_by_type, create_request) have better descriptions but lack complete input schema visibility and parameter details. The create_request tool is particularly problematic: marked as WRITE but no input schema visible in provided source, making it impossible to verify parameter definitions. Overall naming follows verb_noun convention (add, echo, multiply, search_*, create_*), but descriptions for search tools are generic and lack context on when to use each vs the other. No evidence of error handling guidance, output schemas, pagination support, or field documentation in responses.
Adds two integer numbers together.
Creates a new request with dynamically defined fields based on your permissions. This tool is dynamically generated per-user based on their permissions from the form schema API.
Echoes back the provided message.
Multiplies two integer numbers.
Search for entities of any type using a unified approach. This function can search across all supported entity types using the same unified query builder and search handler.
Search for users using a simple query string. Simplified search function that accepts only a query string. All other parameters (limit, tenant_id, etc.) are handled internally through configuration and defaults.
create_request has NO visible input schema in source code. Cannot verify parameter definitions, types, or constraints. Tool marked as WRITE (destructive) but no error recovery guidance provided.
Two search tools (search_users, search_entities_by_type) lack differentiation in descriptions. LLM cannot clearly determine when to use each. search_users description mentions email/name/phone but search_entities_by_type is generic. No guidance on preferred usage.
No output/response schemas documented. LLMs cannot predict what fields each tool returns, preventing downstream tool chaining. create_request is especially problematic, no visibility into what dynamic fields are added.
Inferred effective spec: 2025-06-18+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 65 | 2025-06-18+ | v2 |
| 2026-03-09 | F | 46 | - | v1 |
search_users and search_entities_by_type lack pagination parameters (limit, offset/cursor) and no indication of result limits. Large result sets could exhaust context window.
No error handling or recovery guidance visible in any tool. Descriptions do not explain failure modes, retry behavior, or next steps if a call fails.
Basic math tools (add, echo, multiply) are extremely simple and add little value. No compelling use case for an agent to call these over direct computation. Consider whether these belong in a production MCP server or are only for demonstration.
create_request description states it is 'dynamically generated per-user based on their permissions' but no indication of how permissions affect tool availability, what fields are added, or how the LLM discovers dynamic structure.