Skip to main content
Glama
jsharma103

natural-docs-mcp

by jsharma103

lookup_endpoint

Search Natural REST API endpoints using path fragments, method/path patterns, or keywords. Optionally return detailed schema for a single match.

Instructions

Look up Natural REST API endpoints from the OpenAPI spec. Query by path fragment, "METHOD /path", or keyword. detail=true on a single match returns the pruned operation: parameters, request body, and a representative subset of responses (primary 2xx plus one error; examples stripped, $refs resolved one level, other response codes listed under x-omitted-response-codes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesPath fragment, "POST /payments", or operation keyword.
detailNoReturn full pruned schema for a single match.
Behavior4/5

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

No annotations exist, so the description bears full burden. It discloses significant behavior: detail=true returns a 'pruned operation' with specific elements (parameters, request body, representative responses, $ref resolution, x-omitted-response-codes). This is thorough, though it doesn't mention whether the operation is read-only or idempotent.

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?

The description is front-loaded with the main action and uses three well-formed sentences. It could be slightly more concise by removing 'representative subset of responses' detail, but overall it efficiently conveys necessary information.

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

Completeness4/5

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

Given the lack of annotations and output schema, the description compensates well by detailing query formats and the effect of 'detail', but it does not specify the return structure when detail=false (likely a list of matches), leaving a minor gap.

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

Parameters5/5

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

Schema coverage is 100%, and the description adds substantial value beyond the schema: for 'query' it provides valid formats (path fragment, 'METHOD /path', keyword), and for 'detail' it explains the full meaning of the 'pruned operation' output.

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

Purpose5/5

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

The description specifies a precise action ('Look up Natural REST API endpoints'), identifies the source ('OpenAPI spec'), and details input formats (path fragment, 'METHOD /path', keyword), clearly distinguishing it from sibling tools that handle documentation.

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

Usage Guidelines4/5

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

The description implies usage (for endpoint lookup vs. doc browsing via siblings), but lacks explicit guidance on when to set detail=true vs false or when to prefer this over alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsharma103/natural-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server