An MCP server that exposes Petstore API endpoints as tools, resources, and prompts through OpenAPI specification loading and dynamic tool generation
This MCP server has severe quality gaps across all definition dimensions. Of 5 tools, only 1 (get_petstore_pet) has a complete input schema with proper typing. The remaining 4 tools have incomplete or missing schema information, and descriptions are either generic or lack actionable detail. Tool naming is inconsistent, some use verb_noun form (get_petstore_pet, generate_client, test_scenario), while others are noun-only (api-explorer, api-documentation), conflating discovery/action tools. Parameters in tools 2-5 lack descriptions or have trivial descriptions that don't explain WHAT the parameter controls or WHEN to provide it. No error handling strategy is documented. No tool descriptions explain when to use one tool vs. another (e.g., when to call api-explorer vs api-documentation vs generate-client). The output schema is not documented for any tool. This server appears to be at a prototype stage, tools are registered but not production-ready.
Generate human-readable documentation for API endpoints
Explore and test API endpoints interactively
Generate code to interact with the API
Dynamic tools generated from OpenAPI specification - GET /pet/{petId}
Create and execute test scenarios for the API
Tool 'api-explorer' uses noun-only naming ('api-explorer' instead of 'explore_api' or 'search_api_endpoints'). Noun-only names force LLMs to infer the action, increasing selection errors. Per pattern:tool, tool names must start with a clear action verb (get, search, explore, list) so LLMs understand intent from the name alone.
Tools 2-5 (api-explorer, generate-client, test-scenario, api-documentation) have incomplete input schemas. The 'endpoint' parameter in api-explorer has no description. The 'language' param in generate-client lacks guidance on valid values (javascript? js? node?). The 'scenario' param in test-scenario is free-form string with no enum or constraint. All lack parameter typing detail. Per pattern:constrained-input, parameters accepting known sets of values must use enums; all params need descriptions explaining what they control.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | <=2025-11-25 | v2 |
No output schemas are documented for any tool. LLMs cannot plan downstream calls or extract the right fields without knowing what get_petstore_pet returns (single pet object? array? which fields?). Per pattern:tool, every tool must document its return type and structure.
Descriptions are generic and lack selectivity guidance. 'Explore and test API endpoints interactively' for api-explorer does not distinguish it from generate-client ('Generate code to interact with the API') or api-documentation ('Generate human-readable documentation'). Per pattern:tool-description, every tool must explain WHAT it does, WHEN to use it instead of similar tools, and what it returns. LLMs cannot disambiguate without explicit guidance.
The 'endpoint' parameter in api-explorer has an example ('e.g. /pet, /store/order') in the description. Per pattern:tool-description, example values in descriptions are anti-patterns, LLMs latch onto examples and reuse them literally. Replace with enum constraints or a format pattern (e.g. 'OpenAPI endpoint path starting with /').
No error handling strategy is documented. If get_petstore_pet is called with a petId that does not exist, what does the tool return? An error message? A null? Per pattern:recovery-guide, error responses must tell the LLM what to do next (e.g., 'Pet not found. Call search_pets() to find a valid ID'). Without this, agents cannot recover from failures.
Tools are not tagged with risk hints. Per pattern:tool (and current MCP spec), tools should declare readOnlyHint, destructiveHint, and idempotentHint to signal safety profile. All 5 tools here are marked READ_ONLY in the metadata, but this is external metadata, not in the tool definition itself. Agents need these hints in the protocol response.
Parameter descriptions are missing or trivial. The 'format' parameter in api-documentation has description 'Documentation format (e.g. markdown, html, plain)' which is an example, not a description. Per review:param-validation-rules, parameter descriptions must explain what the param controls and list allowed values formally (as enums), not as examples. The 'operation' param in generate-client has no description at all, does it refer to an OpenAPI operation ID? A method name?