Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_news_headlines

Read-onlyIdempotent

Retrieve timestamped, source-attributed global event news articles using GDELT DOC search; return original publisher URLs, not invented summaries. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "query": "<query>"
    },
    "name": "api_news_headlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax articles 1 to 20
queryYesGDELT Boolean news query; 3 to 120 chars

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld, and non-destructive, so the safety profile is settled; the description adds genuinely new operational context: per-call cost of 0.01 USDC on Base x402 and the X-Provider-Key header for customer-owned credentials. It also guarantees the return payload consists of original publisher URLs rather than generated text, which matters for trust. Minor gaps remain on pagination/limit behavior and failure modes.

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?

Two dense sentences, front-loaded with the core capability before the payment/credential caveat. Every clause carries information (source, attribution, return guarantee, cost, auth), though the payment detail is packed into the same sentence and could be split for scannability.

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 two-parameter read-only search tool with full schema coverage, rich annotations, and no output schema, the description covers what an agent needs: data source, attribution guarantee, cost, and credential handling. It could go further by stating what happens on empty results or how many articles a typical call returns, but nothing essential is missing.

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 both parameters (query with GDELT Boolean syntax and 3-120 char bounds, limit 1-20) are already documented. The description only adds the useful signal that the query follows GDELT DOC search conventions; it says nothing about how limit interacts with cost or result ordering, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb (Retrieve) and a precisely scoped resource: timestamped, source-attributed global event news articles sourced from GDELT DOC search. The GDELT framing plus 'original publisher URLs, not invented summaries' clearly separates it from siblings like api_agent_web_research, api_source_verify, or api_academic_paper_search without needing to name them.

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 implied by the resource description (event news with attributable sources), and 'not invented summaries' hints at when to prefer this over summarization-based tools. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative such as api_agent_web_research for general web lookups.

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