Skip to main content
Glama

x402_news_get_v1_balance

Retrieve the current USDC balance for your news API account to verify funds before making paid calls.

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/balance] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/balance

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_balance"
  }
}

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.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose genuinely useful behavior — cost of $0.005 per call and the supported payment chains (Base/Polygon/Arbitrum/World, eip155:8453+137+42161+480) — which tells the agent calls are metered and paid. However, it says nothing about what the balance endpoint returns, whether it requires auth, or how failures are reported, so the core behavioral profile of this specific endpoint remains opaque.

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?

The description is short and front-loaded with the endpoint marker at the end. The issue is proportion rather than length: most of the sentences describe capabilities of sibling news endpoints and are dead weight for a balance call, but the text is not bloated.

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?

For a simple GET with no output schema and no annotations, the description is incomplete: it does not say what the returned balance represents, what units it uses, or whether the call itself is charged. The payment-rail and price information partially compensates, but the essential subject of the endpoint is never defined.

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%, so the schema already documents body, query, restart, and operationId, establishing the baseline of 3. The description adds no parameter meaning at all — it never mentions query filters or the paid-call retry/dedupe semantics of restart and operationId, which are exactly the parameters where extra prose would help.

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

Purpose2/5

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

The description spends nearly all its text on unrelated catalog features ("Search articles, top headlines, local news, story clusters, topics...") and only appends "[GET /v1/balance] Example: /v1/balance". It never states what "balance" is — API credit balance, USDC wallet balance, or subscription quota — so the purpose is effectively a restatement of the tool name and endpoint path.

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 guidance on when to call this versus the many news search endpoints, or on preconditions (auth, wallet, when a paid call is needed). The only contextual hint is the shared pricing line, which applies to every tool in the family and therefore does not route the agent.

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