Skip to main content
Glama

answer_question

Answer questions from live web sources with citations, so time-sensitive facts like prices, versions, and current officeholders reflect the web today instead of training data.

Instructions

Answer a question from live web sources, with citations.

Searches, reads the top pages in full, and answers from those pages only — so the answer reflects the web now rather than training data. Use this instead of answering from memory whenever the answer could have changed: prices, populations, versions, who currently holds a position, what happened recently.

Args: question: The question, in full. query: Optional search query, when the question phrases badly. max_sources: How many results to consider (default 4). via: "local" searches with DuckDuckGo/SearXNG and reads the pages — free, but degrades when those are rate-limited. "openrouter" has OpenRouter retrieve and answer in one call: better sources and no CAPTCHAs, but it is BILLED per result and needs an API key. Only choose it when local retrieval has already returned something useless.

Returns {"answered", "answer", "sources", "caveat"}. Check "answered": false means the sources did not settle it and "answer" says what was missing — do not present that as a fact.

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": {
      "question": "<question>"
    },
    "name": "answer_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
viaNolocal
queryNo
questionYes
max_sourcesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the retrieval pipeline, the grounding constraint (answers only from the fetched pages), cost behavior ("BILLED per result"), an API-key requirement, rate-limiting and CAPTCHA degradation on the local path, and the failure semantics of the response. Cost and auth disclosures in particular are things an agent cannot infer from any structured field here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then usage condition, then a structured Args block, then Returns semantics — a natural calling order. Every sentence carries information; even the parenthetical about training data vs. the live web earns its place by explaining why results may differ from model priors.

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, so the description supplies the return shape ("answered", "answer", "sources", "caveat") and, more importantly, tells the agent how to act on `answered: false` rather than presenting the miss as fact. For a 4-parameter retrieval-and-synthesis tool with no annotations, nothing an agent needs in order to call it correctly or interpret the result is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it documents all four parameters: `question` ("in full"), `query` (optional, for badly phrased questions), `max_sources` (how many results to consider), and `via` with a full trade-off between the two values. The `via` explanation adds decision-relevant meaning — cost, key requirement, and degradation conditions — that the bare enum-less string type cannot convey.

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 ("Answer a question from live web sources, with citations") and immediately expands the mechanism: "Searches, reads the top pages in full, and answers from those pages only." This distinguishes it from memory-based answering and from a plain search tool that returns links rather than an answer, so an agent can place it without opening the schema.

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 use criterion ("Use this instead of answering from memory whenever the answer could have changed") with concrete trigger categories: prices, populations, versions, current officeholders, recent events. It also routes between the two modes, saying the billed "openrouter" path should be chosen "Only choose it when local retrieval has already returned something useless" — a real exclusion, not just a description.

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