Skip to main content
Glama

AgentAPIHub — Google Maps Places, Trustpilot, Yelp, G2 Reviews & US Realty MCP

call_endpoint

Execute any endpoint (e.g. search.google.web, search.google.news, web.extract.markdown, youtube.video.transcript) and return compact LLM-ready output (-80% context tokens).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "endpoint_id": "<endpoint_id>"
    },
    "name": "call_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNocompact
paramsNo
endpoint_idYes
max_cost_usdNoPer-call USD ceiling

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Adds one useful behavior beyond the annotations: output is compacted toward LLM consumption. But with readOnlyHint=false and a max_cost_usd parameter, the description says nothing about billable cost, side effects of arbitrary endpoints, or rate limits, which is the key risk context for this tool.

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?

Single front-loaded sentence with the cost-saving detail placed at the end; no wasted wording, though the parenthetical examples take substantial space.

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

Completeness2/5

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

A generic dispatcher with a nested free-form params object, a format enum, and a cost ceiling needs guidance on parameter construction and on the discovery flow. None of that is present and there is no output schema to fill the gap.

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

Parameters2/5

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

Schema coverage is only 25% (just max_cost_usd). The description does not explain endpoint_id format beyond examples, the format enum (compact/md/json), or the free-form params object and where to obtain its keys, so it fails to compensate for the low coverage.

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 ('execute any endpoint') plus four concrete endpoint examples, making the generic-gateway nature clear and separable from get_endpoint_schema and search_endpoints. It also names the output characteristic (compact LLM-ready, -80% tokens).

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

Usage Guidelines2/5

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

No when-to-use guidance at all: it never says to call search_endpoints first to find an endpoint_id, nor get_endpoint_schema to discover valid params. Alternatives are implied only by the sibling names, not by the description.

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