Skip to main content
Glama

Agent402.Tools: pay-per-call web tools

Web answer

web.answer
Read-onlyIdempotent

[wallet-required, $0.08/call] AI-generated answer to a natural-language question, grounded in live web search results with source citations. Returns clean prose plus a structured citations array (URL, snippet, favicon) - backed by an independent search index, not the model's training data. Useful when an agent needs a synthesized answer plus the receipts to verify or follow up. Returns { query, answer, citations, citationCount }. This hosted connector holds no wallet: pay it here over MPP, or run npx agent402-mcp with a funded wallet (AGENT_KEY) or prepaid card credits (AGENT402_CREDITS_KEY), or any x402 client.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesNatural-language question (max 400 chars)
countryNoOptional 2-letter country code (default us)
languageNoOptional 2-letter language code (default en)
max_tokensNoOptional cap on the generated answer length in tokens (default 1024, min 64, max 4096). Lower for TL;DR; higher for research questions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
answerYes
citationsNo
citationCountNo

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already provide readOnlyHint, idempotentHint, and openWorldHint, so the description borrows on those. It adds significant transparency: cost ($0.08/call), grounding in an independent live search index (not training data), the precise return format ({query, answer, citations, citationCount}), and payment instructions. This goes well beyond annotations, covering both safety and operational details.

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 well-structured and front-loaded with cost and purpose. Every sentence adds value, though the payment section is a bit lengthy. It is not verbose overall but could be slightly tightened. It maintains a logical flow from what it does, to output, to usage, to payment.

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?

Given that the output schema exists and annotations cover safety, the description is complete for an agent to decide and call correctly. It covers purpose, use case, cost, payment, grounding, and return format. An agent knows exactly what to expect and how to invoke it.

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%, so the baseline is 3. The description adds meaning by giving practical guidance on max_tokens ('Lower for TL;DR; higher for research questions') and by explaining that output includes citations, which connects the q parameter to the result. It does not just repeat schema descriptions but provides usage nuance.

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?

The description clearly states the action 'AI-generated answer to a natural-language question' and specifies the resource (grounded in live web search results with source citations). It distinguishes itself from raw search tools like web.search and web.news by emphasizing synthesis plus citations, making its purpose unambiguous.

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

Usage Guidelines4/5

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

It provides a clear usage context: 'Useful when an agent needs a synthesized answer plus the receipts to verify or follow up.' This implies when to use it, but it does not explicitly name alternatives or state when not to use it (e.g., when raw search results are sufficient). The context is clear but lacks explicit exclusions.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Tools are grouped by clear domain prefixes (web, memory, catalog, market) and mostly have distinct behaviors. web.search and web.news overlap somewhat as both return ranked live results, and catalog.find vs catalog.search require careful reading, but the descriptions do enough to disambiguate them.

Naming Consistency5/5

Every tool follows the same dotted domain.action pattern with lowercase snake_case, e.g. web.search, memory.read, catalog.find. This is highly predictable and lets an agent infer the general behavior of an unfamiliar tool from its name alone.

Tool Count4/5

Fifteen tools is at the upper edge of the well-scoped range, but each represents a distinct capability or meta-function like payment info and catalog discovery. The count feels reasonable for a pay-per-call marketplace front-end, though a few auxiliary tools (sellers.list, demand.request) are slightly peripheral.

Completeness4/5

The flagship set covers the main workflows: web search/news/answer, rendering, transcription, market quotes, memory read/write, and catalog lookup. Some referenced tools like extract and screenshot are not included as first-class tools, but the catalog.call/search/find trio and demand.request make those gaps addressable rather than dead ends.