Skip to main content
Glama

Get an API's endpoint reference

get_api

Full reference for one API: every endpoint with method, path, path and query parameters with example values, request body and an example response, plus the token cost per call. Use the slug from search_apis.

Input Schema

NameRequiredDescriptionDefault
slugYesAPI slug, e.g. 'sanctions' or 'barcode-lookup'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it is evidently a read-only reference fetch and it enumerates the return payload, including the per-call token cost, which is non-obvious operational context. It does not address rate limits, auth, or error behavior for an unknown slug, which keeps it from a 5.

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?

One dense sentence describing the payload followed by a short routing instruction — front-loaded, no filler, and every clause adds information an agent would otherwise have to discover by calling the tool.

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

Completeness5/5

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

No output schema exists, so the description compensates by fully enumerating the response contents, and the single required parameter is already documented in the schema. For a one-parameter read tool there is nothing material an agent needs before calling it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description adds genuine value beyond the schema by telling the agent to source the slug from search_apis rather than constructing it. The schema already supplies format examples ('sanctions', 'barcode-lookup'), so no further parameter detail is needed.

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?

States a specific verb+resource (full reference for one API) and enumerates exactly what is returned: endpoints, methods, paths, parameters with examples, request body, example response, and token cost. This clearly separates it from call_api (invoke) and search_apis (discover).

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?

"Use the slug from search_apis" gives explicit workflow guidance on where the required argument comes from and establishes the search-then-inspect sequence. It stops short of stating when not to use this versus call_api, but the context is clear enough to route correctly.

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