Skip to main content
Glama

Call a data capability

everyinfra_call_api
Read-only

Charges per call. Call any EveryInfra data capability and get structured JSON. Priced per platform tier USD 0.56/1K–USD 5.56/1K; failed calls and empty results leave no final charge (anything reserved is restored). A few capabilities state different billing terms in their own API docs; for those, the API docs apply. One call is one charge, except that multi-target arrays (urls, targets, usernames, tickers) are billed per element, and actions with rows_per_unit (most list actions) per block of that many rows asked for. Actions with limit_retired_on in the catalog return one page per call: omit limit and page with next_page_token (until that date a limit still works and the result carries limit_notice with the corrected call in fix; from that date it is rejected with 422 limit_retired, not charged). Page-based actions (page_size in the catalog) return one page per call, of a fixed size unless page_size_varies (then a short page is not the end); for more, pass the response's top-level next_page_token (some actions repeat it on each row) as page_token — each page is one call. Check platform/action, required params and max_limit or page_size with everyinfra_list_capabilities first. For slow tasks or large limits pass mode=async: you get a job_id at once; read the result with everyinfra_get_job (free).

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": {
      "platform": "<platform>",
      "action": "<action>"
    },
    "name": "everyinfra_call_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosync (default) waits for the result; async returns a job_id at once for slow tasks or large limits — read it with everyinfra_get_jobsync
actionYese.g. search / profile / user_posts / post
paramsNoThe capability's params, e.g. {"keyword":"AI tools","limit":20}
platformYese.g. xiaohongshu / twitter / tiktok / web

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"如 search / profile / user_posts / post"New value: +"e.g. search / profile / user_posts / post"
    • changedInput schema / properties / mode / description
      Previous value: -"sync(默认)等待结果;async 立即返回 job_id,慢任务/大 limit 用,再用 everyinfra_get_job 取结果"New value: +"sync (default) waits for the result; async returns a job_id at once for slow tasks or large limits — read it with everyinfra_get_job"
    • changedInput schema / properties / params / description
      Previous value: -"该能力的参数,如 {\"keyword\":\"AI tools\",\"limit\":20}"New value: +"The capability's params, e.g. {\"keyword\":\"AI tools\",\"limit\":20}"
    • changedInput schema / properties / platform / description
      Previous value: -"如 xiaohongshu / twitter / tiktok / web"New value: +"e.g. xiaohongshu / twitter / tiktok / web"
  2. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"sync(默认)等待结果;async 立即返回 job_id,慢任务/大 limit 用,轮询 GET /api/v1/jobs/{job_id}"New value: +"sync(默认)等待结果;async 立即返回 job_id,慢任务/大 limit 用,再用 everyinfra_get_job 取结果"
  3. Changed1 schema field changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "sync",
      +  "description": "sync(默认)等待结果;async 立即返回 job_id,慢任务/大 limit 用,轮询 GET /api/v1/jobs/{job_id}",
      +  "enum": [
      +    "sync",
      +    "async"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the supplied annotations: it discloses the billing model ($0.56–$5.56 per 1K, no charge on failed or empty results, reservation restoration), per-element billing for multi-target arrays, per-block billing for rows_per_unit actions, and one-call-per-page semantics. It also explains the limit_retired_on deprecation timeline with the exact 422 limit_retired behavior, and page_token/next_page_token mechanics — details an agent could not infer from readOnlyHint/openWorldHint alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The billing and mode information is front-loaded sensibly, but the body is a dense run-on packing deprecation dates, per-element billing, and two different pagination models into long sentences, which makes it hard to scan. Almost every sentence carries information, but the structure does not help the reader prioritize.

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?

For a high-complexity gateway tool with a nested free-form `params` object and no output schema, the description covers billing, pagination, async workflow, and prerequisite discovery well. The main remaining gap is the shape of a successful response beyond "structured JSON" (e.g., how next_page_token and limit_notice appear), which matters given there is no output schema to fall back on.

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, but the description adds real meaning: it explains what mode=async does behaviorally (immediate job_id, cost-free retrieval), how `limit` and page_token interact with paginated actions, and that `params` may contain multi-target arrays billed per element. That is meaningful semantics layered on top of the schema rather than restatement.

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?

"Call any EveryInfra data capability and get structured JSON" gives a clear verb and resource, and the description routes the agent to everyinfra_list_capabilities for discovery and everyinfra_get_job for async reads, which separates it from those siblings. The resource is inherently generic (a proxy over arbitrary capabilities), so the purpose is clear but not sharply bounded.

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?

It states an explicit prerequisite ("Check platform/action, required params and max_limit or page_size with everyinfra_list_capabilities first") and an explicit alternative path ("For slow tasks or large limits pass mode=async... read the result with everyinfra_get_job (free)"). There is no explicit when-not-to-use guidance, but the routing between sync, async, job retrieval, and catalog lookup is otherwise concrete.

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.