Skip to main content
Glama

AgentAPIGate — 300+ Real-Time Web Data APIs

Call Real-Time Web Data Endpoint

call_endpoint
Read-onlyIdempotent

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
formatNoOutput compression format ("compact", "md", or "json"), e.g. "compact".compact
paramsNoEndpoint request arguments matching get_endpoint_schema, e.g. {"q":"MCP servers","limit":5}.
endpoint_idYesTarget endpoint ID from search_endpoints, e.g. "search.google.web".
max_cost_usdNoOptional per-call USD ceiling, e.g. 0.005.

Output Schema

NameRequiredDescriptionDefault
dataYesNormalized response object (or compact markdown string when format="md").
metaYesExecution receipt (request_id, endpoint, cost_usd, tokens_est, cached).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds that output is compressed LLM-ready text (~80% token reduction), which is useful beyond the annotations, but it omits cost/credit implications implied by max_cost_usd, rate limits, and failure behavior for external endpoints.

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?

A single front-loaded sentence with the action first and illustrative endpoints and output benefit after. The example list is moderately long but each item clarifies the scope of 'any endpoint', so there is little wasted text.

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?

With a full output schema and comprehensive annotations, the description needn't explain return shapes, and it correctly focuses on the call-and-compress behavior. It is nearly complete for a moderate-complexity generic executor, with the main residual gap being no mention of cost or error semantics when a remote endpoint fails.

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 coverage is 100%, so all four parameters, the format enum and the params object are already documented. The description only repeats the endpoint examples already present in the endpoint_id field and adds no new meaning about format tradeoffs or how params must match get_endpoint_schema, so the baseline 3 applies.

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 concrete verb and scope ('Execute any endpoint') and grounds the abstract resource with four real endpoint IDs, so an agent knows this is the executor rather than a discovery tool. It stops short of explicitly contrasting itself with get_endpoint_schema or search_endpoints, so sibling differentiation is only implied.

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?

Usage is only implied: you need an endpoint_id, and the required-parameter and schema wording ('from search_endpoints') hints at the lookup-then-call workflow. The description itself never says when to call this instead of get_endpoint_schema, nor does it state prerequisites such as needing a schema first or available credits.

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.