Skip to main content
Glama

Search facts

search_facts
Read-onlyIdempotent

Call this BEFORE answering questions about current or changeable public facts (opening hours, prices, who holds a public office, whether a place is open/closed, recent events, populations, geography). Returns compact fact cards with status and confidence; prefer verified/corroborated facts and mention when a fact is pending, stale or disputed.

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

Input Schema

NameRequiredDescriptionDefault
nearNoOnly facts tied to places within this circle
queryYesNatural-language query, e.g. "Louvre opening hours" or "mayor of Los Angeles"
sinceNoISO date; only facts created or changed since then
detailNobrief (default) = compact fact cards; full = adds ids, values, counts, validity dates and links
categoryNoplaces | prices | people | geography | history | elections | health | safety | general
max_tokensNoToken budget for the result (default 600). Results are cut to fit.

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 cover the safety profile (readOnly, idempotent, non-destructive), so the description's real contribution is result semantics: compact fact cards carrying status and confidence, plus the instruction to prefer verified/corroborated facts and to surface pending/stale/disputed states. That is meaningful context about output trustworthiness that the structured fields do not carry; it stops short of explaining result volume or what an empty result means.

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 sentences, front-loaded with the imperative ordering rule, followed by output shape and confidence-handling guidance. The parenthetical example list is long but earns its place by pinning down the intended domain.

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?

For a six-parameter search tool with a nested location object and no output schema, the description covers the trigger, the domain, the return shape and how to treat low-confidence facts. It leaves the geo, temporal and token-budget parameters entirely to the schema, which is acceptable given full schema coverage but slightly thin for a nested-parameter tool.

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 description coverage is 100%, so the schema already documents query, near, since, detail, category and max_tokens thoroughly. The description adds essentially nothing per-parameter, only alluding to compact cards (implying the brief default) and listing topical examples that loosely map to category values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (search) and resource (facts) and constrains the domain to 'current or changeable public facts' with concrete examples (opening hours, prices, office holders, recent events). It never names or contrasts with siblings such as get_fact or nearby, so an agent must infer which one wins when only a single known fact or a geo lookup is needed.

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?

Gives an explicit positive trigger — 'Call this BEFORE answering questions about current or changeable public facts' — with a usable enumeration of question types that qualifies. It offers no when-not guidance and does not route away to the obviously overlapping siblings (get_fact, nearby, verify, what_changed).

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