Skip to main content
Glama

Agent Data Hub

call_api

Execute a specific API endpoint by its ID. Tip: bundle-location-brief, bundle-country-brief and bundle-npm-package-brief answer whole tasks in one call.

Input Schema

NameRequiredDescriptionDefault
apiIdYesThe API ID e.g. bundle-location-brief, fx-currency-convert
fieldsNoOptional comma-separated data fields to return (dot paths)
paramsNoQuery parameters key-value map
verboseNoInclude full provenance metadata (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Execute' implies an action, but the description does not disclose whether endpoints may mutate data, what permissions or auth are required, rate limits, error behavior, or whether effects are reversible. The routing tip is helpful but does not compensate for this gap.

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?

Two short sentences with the core action front-loaded and the routing tip immediately after. Every sentence earns its place; there is no filler.

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?

The schema fully covers the four parameters and the description gives useful routing context, but for a generic executor with no annotations and no output schema, an agent still lacks side-effect, safety, and return-shape information. It is adequate but leaves clear behavioral gaps.

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 100%, so the schema already documents apiId, fields, params, and verbose in detail. The description adds example apiIds and mentions bundles, but does not add syntax or meaning beyond the schema's own examples, so the baseline 3 is appropriate.

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 and resource ('Execute a specific API endpoint by its ID'), so the agent knows this is a generic endpoint invoker rather than a search or history tool. It doesn't explicitly name the siblings (search_apis, ask_anything) to differentiate, but the purpose is clear.

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 tip about bundle endpoints 'answering whole tasks in one call' implies when to prefer those bundles over piecemeal calls, which is useful routing guidance. However, it gives no explicit when-to-use/when-not-to-use against siblings like search_apis or ask_anything, leaving selection partly to inference.

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