Skip to main content
Glama

x402_news_get_v1_count

Count news articles matching a query across global sources in real time. Use it to measure coverage volume or validate search scope before deeper analysis.

Instructions

news — Real-time global news via APITube: 300k+ sources. Search articles, top headlines, local news, story clusters, topics, industries, entities, trends, autocomplete, counts. Sentiment + entity enrichment included. $0.005/call on Base/Polygon/Arbitrum/World. [GET /v1/count] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/count?q=climate

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_news_get_v1_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.6/5.0
Behavior3/5

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

With no annotations, the description does carry useful behavioral load: it discloses pay-per-call pricing ($0.005/call) and the accepted payment networks (Base/Polygon/Arbitrum/World, eip155:8453+137+42161+480), which is real context an agent needs before invoking. However it never says what the count counts (articles, clusters, sources), what the response looks like, or how failures/partial results behave, and the retry semantics implied by the restart/operationId params go unexplained.

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

Conciseness2/5

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

The bulk of the text is a comma-run marketing inventory of the entire API family, most of which is irrelevant to a count call, and the tool-specific information is buried at the end. The '$0.005' cost is stated twice in two formats, which is wasteful.

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?

No output schema and no annotations, so the description is the only source of truth, yet it neither describes the return value (a numeric count, its shape, or any metadata) nor which query parameters scope the count. For a 4-parameter paid endpoint with nested query objects, that is not enough to call it correctly on the first try.

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 the baseline is 3, and the description only adds the single example query hint 'q=climate'. It does not document which query keys the count endpoint accepts (e.g. q, from, to, lang) beyond that one illustrative key, so the generic 'query' object remains under-explained for a real call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The bracketed route '[GET /v1/count]' plus the example '/v1/count?q=climate' indicate this returns a count for a news query, but the preceding sentence is a family-level laundry list ('search articles, top headlines, local news, story clusters, topics, industries, entities, trends, autocomplete, counts') that describes sibling tools as much as this one. An agent must already know the API surface to be confident this tool counts rather than returns articles.

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?

There is no statement of when to use the count endpoint versus x402_news_get_v1_news or the other sibling endpoints. No conditions, no exclusions, no 'use this instead of' routing. The agent must infer that a count is cheaper than fetching articles.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools