Skip to main content
Glama

facts

facts
Read-only

Fact lookup for grounding: best-matching Wikipedia article summary plus structured Wikidata facts (website, founding date, birth/death dates, population, coordinates) and the source link. Any language edition. Costs $0.002 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
qYesTopic, person, place or thing
langNoWikipedia language code, default en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds behavior the annotations do not: a per-call price ($0.002 USDC via x402) and the fact that any language edition is supported. It does not describe failure modes when no article matches, which keeps it below a 5.

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?

Two compact sentences, front-loaded with the core operation and the returned payload, then the cost and language scope. No filler and nothing repeated from the name or title.

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?

There is no output schema, and the description compensates by enumerating the return fields (summary, website, founding date, birth/death dates, population, coordinates, source link) and the per-call cost. Coverage is strong; only the no-match/fallback behavior is left unspecified.

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% and both parameters (q, lang) are fully documented in the schema, so the baseline is 3. The description's 'Any language edition' loosely corroborates the lang parameter but adds no syntax or default detail beyond what the schema already states.

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+resource ('Fact lookup') and enumerates exactly what is returned: best-matching Wikipedia article summary, structured Wikidata facts, and the source link. This distinguishes it from siblings like wikidata_query (raw query) and trends_wikipedia (pageview trends) without needing to open either schema.

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?

'For grounding' implies the use case (retrieval-augmented fact grounding) but there is no explicit when-to-use vs when-not, and no sibling is named as an alternative even though wikidata_query, dictionary, and country/entities overlap. Usage is implied rather than stated.

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