Skip to main content
Glama

Agent Data Tools: Web, documents and search

Web research: search and read the top pages

pack_web_research
Read-only

One call to research a question on the web: a Brave web search, then the text of the top 1-5 result pages, read in parallel and clipped to your length, with titles and URLs. A page that cannot be read is listed with its reason. Results are for the caller's immediate use only: no storing, resale or model training (Brave API terms). Use when an agent needs current, sourced information in one step instead of a search plus several page reads. Example: q=x402 payment protocol. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "q": "<q>"
    },
    "name": "pack_web_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesWhat to research, at most 400 characters
pagesNoHow many top results to read in full (1-5, default 3)
maxCharsNoCharacters of text per page (500-10000, default 3000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / maxChars / maximum
      Previous value: -9007199254740991New value: +10000
    • changedInput schema / properties / maxChars / minimum
      Previous value: --9007199254740991New value: +500
    • changedInput schema / properties / pages / maximum
      Previous value: -9007199254740991New value: +5
    • changedInput schema / properties / pages / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.3/5.0
Behavior3/5

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

Adds real context beyond annotations: unreadable pages are reported with a reason, pricing at $0.01/call via x402 USDC or card key, failed calls free, and licensing restrictions on storing or resale. It restates read-only behavior already covered by readOnlyHint/destructiveHint, so the value is in cost and partial-failure reporting rather than new safety information.

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-loaded with the pipeline and the when-to-use clause, then pricing and terms. Slightly dense with the licensing and payment clauses packed into two long sentences, but nearly every sentence carries decision-relevant information.

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?

Covers mechanism, failure handling, cost, and licensing for a three-parameter tool with no output schema. The main remaining gap is return shape beyond titles/URLs, such as ordering of failed pages versus successes, though that is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with per-parameter bounds documented, so the baseline would be 3. The description adds meaning by clarifying that maxChars is per page, that the read count is the top 1-5 results, and gives an example query of the right shape.

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 chain and resource: a Brave search followed by parallel reads of the top 1-5 pages, with clipping, titles and URLs. This distinguishes it from plain web search or per-page read tools by describing the one-step composite pipeline.

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?

Explicitly says when to use it: an agent needing current, sourced information in one step instead of a search plus several page reads, with a concrete example query. It also warns about repeated calls being charged, which routes the agent away from redundant use.

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