Skip to main content
Glama

api_endpoint

Find the exact operation in a public API's OpenAPI spec for a task: method, path, parameters, request body fields, auth. Deterministic search, no LLM. Input: {api, query}. Optional {spec_url} if you already know the spec. Costs $0.002 USDC (Solana, x402).

Input Schema

NameRequiredDescriptionDefault
apiYes
queryYeswhat you want to do, e.g. 'list repository issues'
spec_urlNo
free_trialNoset true to use the free tier (10 calls/day) without payment
x402_paymentNobase64 x402 payment payload; omit to receive payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden and adds useful context: deterministic search, no LLM, $0.002 USDC cost on Solana via x402. It does not explain payment failure behavior, auth requirements, rate limits, or the free-trial flow beyond what is implied by the schema.

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

Conciseness5/5

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

The description is compact and front-loaded: the core purpose appears first, followed by the input shape, optional parameter guidance, and cost. Every sentence carries useful information and there is no wasted prose.

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?

There is no output schema, but the description explicitly lists the returned operation details: method, path, parameters, request body fields, and auth. Given the absence of annotations, it also discloses determinism and cost, though it leaves some payment-flow and failure-mode details to the schema.

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 description coverage is moderate at 60%, and the description maps the required `{api, query}` inputs plus optional `spec_url` with a useful condition: use it when you already know the spec. It does not add meaning for `free_trial` or `x402_payment`, and it does not clarify the expected format of `api` beyond the schema.

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?

The description states a specific verb and resource: it finds the exact operation in a public API's OpenAPI spec for a task, and it enumerates the useful return fields (method, path, parameters, request body fields, auth). It also differentiates itself behaviorally as deterministic and non-LLM, but it does not explicitly distinguish itself from the sibling `api_lookup` tool.

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

Usage Guidelines3/5

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

The description gives the required input shape `{api, query}` and notes that `spec_url` is optional when the spec is already known, which provides some usage context. However, it does not state when to use this tool versus `api_lookup`, nor does it give explicit exclusions for when not to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources