Skip to main content
Glama
mcp-ddg-research

mcp-ddg-research

by isyuricunha

web_answer

Retrieve a provider-generated answer with sources for a query; requires a configured key and allow_cost=true, and may consume account credits.

Instructions

Get a provider-generated answer and sources, not independent verification.

Omit provider to use the configured answer default. Requires a configured key and explicit allow_cost=true. TinyAnswer supports at most 2000 characters and requires account entitlement; it may consume credits. Use web_search instead for ordinary retrieval or keyless searches. No fallback.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
providerNo
allow_costNoSet true only with user consent to spend credits.

Output Schema

NameRequiredDescriptionDefault
modeYes
answerYes
effortNo
sourcesYes
providerYes
truncatedNo
source_kindNocitations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only provide generic hints (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false); the description adds the substantive behavior: a configured key is required, cost consent is mandatory, TinyAnswer caps input at 2000 characters and needs entitlement, and credits may be consumed. The credit-spend warning is the key fact annotations cannot express. It stops short of describing latency or failure modes beyond 'No fallback'.

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 definition is short and front-loads the core purpose and its negation before moving to prerequisites, limits, and the alternative. Every sentence carries information, though the telegraphic fragments ('No fallback.', 'requires account entitlement') read as clipped notes rather than flowing prose, slightly taxing the reader.

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?

An output schema exists, so return values need no explanation, and the description covers the genuinely load-bearing gaps: key configuration, cost consent, provider fallback default, and a provider-specific length limit. What remains thin is provider-by-provider behavior, which matters given a five-value enum with no schema descriptions.

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 description coverage is only 33%, so the description must compensate, and it does: it explains that omitting 'provider' falls back to the configured answer default, that allow_cost=true is required and tied to spend, and that one provider (TinyAnswer) imposes a 2000-character limit tighter than the schema's 4000 maxLength on query. It does not characterize the remaining provider enum values (tavily, exa, youcom, brave, tinyfish) despite the schema having no per-value descriptions.

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 states a specific verb and resource ('Get a provider-generated answer and sources') and immediately scopes it with 'not independent verification', which tells an agent exactly what class of output to expect. It also distinguishes itself from the retrieval sibling web_search, so the tool is identifiable without consulting 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?

It names the explicit alternative ('Use web_search instead for ordinary retrieval or keyless searches') and the precise conditions that gate this tool: a configured key, explicit allow_cost=true, and account entitlement for TinyAnswer. 'No fallback' further tells the agent not to retry through other providers, which is exactly the kind of routing guidance that prevents misuse.

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