Skip to main content
Glama

api_agent_web_research

Read-onlyIdempotent

Agent Web Research — Search attributed global news and OpenAlex research; optionally read a supplied public HTML page once to extract evidence, confirm reachability and fingerprint its content, compare an earlier semantic hash, and extract up to three text-only pages from a public PDF. One payment for the composed response; URL inputs are optional and unavailable evidence is reported. 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_agent_web_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per source, 1–10
queryYesResearch topic or question, 3–120 characters
pdf_urlNoOptional public HTTPS selectable-text PDF, maximum three pages and 2 MiB
page_urlNoOptional public HTTPS HTML page for extract, source-verify and page-change
previous_hashNoOptional prior 64-character semantic SHA-256 hash, requires page_url

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, but the description adds genuinely new behavioral facts: pricing of 0.01 USDC on Base x402, one payment covering the composed response, credential passthrough via the X-Provider-Key header, and that unavailable evidence is reported rather than silently dropped. Remaining gap: it does not say what the response payload looks like, which matters for a composed multi-source tool with no output schema.

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?

It is front-loaded with the core purpose, which is good, but the first sentence is a single run-on chain that packs search, page read, hash comparison, PDF extraction, payment, and auth into one clause sequence. Length is defensible for the surface area covered, yet the structure forces the reader to re-parse to separate the optional behaviors from the core one.

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?

It covers cost, auth, input constraints, and partial-failure behavior, which is substantial for a five-parameter tool. However, for a composed paid endpoint with no output schema, the description should indicate what comes back across the search, page, and PDF paths; 'unavailable evidence is reported' is the only return-value hint, leaving the response shape underspecified.

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 all five parameters are already documented, including the 3–120 character query bounds, the 64-character hash format, and the PDF page/size limits. The description largely restates these ('read a supplied public HTML page once', 'up to three text-only pages') rather than adding new semantics. Baseline 3 is correct when the schema carries the parameter burden.

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?

The description names a specific verb and composite resource: search attributed global news and OpenAlex research, with optional single-page HTML extraction, hash comparison, and PDF text extraction. An agent can tell this is the composed research endpoint rather than a narrow sibling like api_news_headlines or api_pdf_extract. It stops short of explicitly naming which sibling to prefer, so it stays at 4 rather than 5.

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 only implied: 'URL inputs are optional' and 'unavailable evidence is reported' hint that page_url/pdf_url/previous_hash are add-ons to a base search. There is no explicit when-to-use-this versus api_academic_paper_search, api_news_headlines, api_extract, api_pdf_extract, api_page_change, or api_source_verify, all of which appear as siblings covering subsets of this tool's behavior.

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