Skip to main content
Glama

Execute API call

execute
Destructive

Call an enabled endpoint found via search_apis; charges credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoEndpoint args; call describe_api for schema.
slugYesprovider/endpoint slug.
loop_idNoAgent loop ID when policy requires one.
attributionNoSpend attribution: taskId + feature (+ optional appVersion).
approval_tokenNoestimate_cost quote; requires its idempotency_key.
idempotency_keyNoStable exactly-once retry key.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesRaw upstream provider response body.
usd_chargedNoUSD charged (secret-key auth only).
credits_balanceNoRemaining credit balance.
credits_chargedNoCredits debited for this call.
idempotent_replayNoTrue when a stored identical call was replayed; no new charge was made.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / args / description
      Previous value: -"Endpoint args; schema and example via search_apis or describe_api."New value: +"Endpoint args; call describe_api for schema."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already disclose destructive=true, non-idempotent, open-world behavior, and the description adds genuinely useful context beyond them: 'charges credits' (financial side effect) and 'enabled endpoint' (access prerequisite). No contradiction with annotations; the description complements rather than duplicates them.

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?

Nine words across two clauses, with the action ('Call an enabled endpoint') front-loaded and the cost warning attached. Every word earns its place; nothing is redundant or extraneous.

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 output schema and rich annotations cover returns and safety, and the schema documents the approval_token/idempotency_key linkage to estimate_cost. However, the minimal description leaves the full execution workflow (estimate → approve → execute → retrieve) implicit, which is a notable gap for the central invocation tool in this ecosystem.

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%, with all six parameters documented in the input schema, so the baseline of 3 applies. The description itself adds no parameter-level meaning, but it does not need to since the schema fully covers param semantics.

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 states a specific verb and resource ('Call an enabled endpoint') plus provenance ('found via search_apis') and a distinguishing behavior ('charges credits'). This cleanly separates it from siblings like search_apis (discovery), describe_api (description), and estimate_cost (pricing), so an agent can route correctly without opening schemas.

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 phrase 'found via search_apis' implies the correct workflow (discover first, then execute) and 'charges credits' hints that cost approval may be needed, but the description never explicitly names alternatives or exclusion conditions. It does not tell the agent when to prefer estimate_cost for pre-flight or get_call_result for retrieving async results, leaving routing 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.