Skip to main content
Glama
mcp-developer-context-server

mcp-developer-context-server

Fetch API spec

fetch-api-spec

Fetches and summarizes OpenAPI or Swagger specifications from a URL, giving models a clear API overview without parsing raw spec files.

Instructions

Fetch and summarize OpenAPI/Swagger from URL

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "fetch-api-spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one meaningful trait beyond the schema: the tool summarizes rather than returns the raw spec, so the agent knows not to expect the full document. It omits network/auth requirements, whether remote refs are followed, spec version support, failure modes, and size limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no wasted words and the key information front-loaded. It is efficient, though the terseness borders on under-specification given the tool's real behavioral surface.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool this is close to adequate, but with no annotations, no output schema, and no explanation of what the summary contains or how failures are surfaced, an agent cannot fully predict the result. A little more detail on the returned summary and URL expectations would make it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter is documented only as a generic URI string, so the description does add meaning by tying the URL to an OpenAPI/Swagger document location. It still doesn't specify whether the URL must point directly at the spec file or whether a base URL is acceptable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair ("Fetch and summarize") and a specific resource ("OpenAPI/Swagger from URL"), which is enough to distinguish it from siblings like search-codebase or validate-json. It stops short of explicitly contrasting with any sibling, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives, no prerequisites, and no note about what to do with the result. The only implied usage is 'you have a URL to a spec', which the agent must infer from the parameter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.