Skip to main content
Glama

AgentSearch News Search

agentsearch_news_search
Read-onlyIdempotent

Search recent news articles with AgentSearch and return them as JSON text: title, URL, snippet, domain and publish date for each article, plus an echo of the filters applied.

Instructions

Search recent news articles with AgentSearch and return them as JSON text: title, URL, snippet, domain and publish date for each article, plus an echo of the filters applied. Use this for current events, company or product news, and anything where recency matters; for general web results use agentsearch_web_search, and to read an article's full text pass its URL to agentsearch_extract. Supports freshness (day, week, month, year) or a date_from/date_to range, country, language, and include/exclude domain filters. Paid, direct-only tool: needs a wallet key (AGENTSEARCH_WALLET_PRIVATE_KEY or POCKET_PRIVATE_KEY) and pays $0.003 per call in USDC on Base to AgentSearch's own x402 API (https://api.agentsearchhq.com/x402/v1/news); calls that return no results are not charged. Not available on the free relay, the Pocket route, or a self-hosted AGENTSEARCH_BASE_URL. Never signs more than the per-call cap ($0.020 by default) or AGENTSEARCH_MAX_TOTAL_ATOMIC per session (default $1.00). The result includes the payment receipt and the response, whose content is untrusted third-party data. Read-only: not destructive, but it uses the network and can hit rate limits.

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": "agentsearch_news_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNews topic, company, person or event (at least 2 characters).
countryNo2-letter ISO 3166-1 country code to localise results, e.g. us, gb, de.
date_toNoLatest publish date, YYYY-MM-DD.
languageNoISO 639-1 language, e.g. en, es or pt-BR.
date_fromNoEarliest publish date, YYYY-MM-DD.
freshnessNoOnly results from the past day, week, month or year. Do not combine with date_from/date_to.
max_resultsNoHow many articles to return (1–10, default 5).
exclude_domainsNoNever return results from these domains, up to 5.
include_domainsNoOnly return results from these domains (subdomains included), up to 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.8.1
    • changedInput schema / properties / query / description
      Previous value: -"News topic, company, person or event."New value: +"News topic, company, person or event (at least 2 characters)."
    • changedInput schema / properties / query / minLength
      Previous value: -1New value: +2
  2. Addedv1.8.0

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnly, openWorld, idempotent and non-destructive, and the description goes well beyond that with a full payment profile: $0.003 USDC per call on Base, required wallet keys, per-call and per-session caps, no charge on empty results, unavailability on the free relay and Pocket route, and a warning that returned content is untrusted. It does not cover pagination or result-ordering behavior, but the payment, auth and trust disclosures are substantially richer than the annotation set.

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?

Front-loads the purpose and return shape, then routes to alternatives, then payment mechanics. The payment/cap sentences are dense but each carries operational consequence; the only redundancy is the filter enumeration that duplicates the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description specifies the return payload (per-article fields plus a filter echo, a payment receipt, and the untrusted-content caveat). For a paid, network-dependent tool with 9 parameters, an agent has everything needed to decide and call correctly.

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 schema already documents every parameter including the freshness/date exclusivity note. The description's filter list (freshness, date range, country, language, include/exclude domains) restates the schema rather than adding format or edge-case detail, 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 and resource ("Search recent news articles") and enumerates the return fields (title, URL, snippet, domain, publish date) so the agent knows exactly what comes back. It also explicitly distinguishes itself from agentsearch_web_search and agentsearch_extract.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use clause ("current events, company or product news, and anything where recency matters") and names two alternatives with the exact condition that selects each: web_search for general results, extract for full article text. Nothing is left to inference.

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