Skip to main content
Glama

Find a cited fact without knowing which dataset it is in

find_fact
Read-only

Ask a factual question in plain words and get back published records that bear on it, each with its source URL and the verbatim passage from that page containing the value (the sentence where the source is prose, the row itself where it prints a table). Use this INSTEAD of answering a threshold, deadline, limit, fee, date, version pairing or certification status from memory, and instead of calling list_datasets first: this picks the datasets for you. Examples: "how much retainage can be withheld in Ohio", "when does Python 3.11 lose support", "pseudoephedrine daily purchase limit Texas". It routes by matching your words against the catalogue, so it can search the wrong dataset; the reply names every dataset it searched, how many it did not, and which of your words each record matched, so you can tell a real answer from a near miss. If it finds nothing, that is not evidence the fact is absent — widen the question or call list_datasets.

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

Input Schema

NameRequiredDescriptionDefault
datasetsNoHow many of the best-matching datasets to search, 1 to 5. Default 3. More costs more and widens the chance of an off-topic hit.
questionYesThe question or lookup in plain words, including the thing you want it about — a state, chemical, product, version or certificate number. Common words are ignored; the rest are matched against the catalogue and then against records.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the routing mechanism (word matching against the catalogue), the failure mode (it can search the wrong dataset), and what the response exposes (datasets searched, datasets skipped, per-record matched words). It also warns that an empty result is not proof of absence — a critical caveat. Slightly short of 5 only because it does not say how many records come back or whether results are ranked.

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?

Front-loaded with the core action and return value, then usage routing, then caveats — a sensible order with no filler sentences. It is a dense single block, though; the examples and the failure-mode caveat would scan better as separate sentences or bullets.

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?

There is no output schema, so the description carries the full burden of describing returns, and it does: records, source URL, and the exact quoted passage with the prose-sentence/table-row distinction. It also covers the routing caveat and the null-result interpretation, leaving nothing an agent needs before calling it.

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%, so both parameters are already documented in the schema, including the datasets default and range. The description reinforces the meaning of the question parameter through worked examples ('pseudoephedrine daily purchase limit Texas') and the note that common words are ignored, but the datasets parameter is only alluded to indirectly ('this picks the datasets for you'). Baseline 3 is appropriate.

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 (ask a factual question in plain words) and a specific return (published records with source URL and verbatim passage), plus a scope note in the title ('without knowing which dataset it is in'). It is clearly distinguishable from list_datasets, search_records and get_record because it explicitly positions itself as the entry point that picks datasets for you.

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 explicit when-to-use ('instead of answering a threshold, deadline, limit, fee, date, version pairing or certification status from memory') and an explicit alternative to avoid ('instead of calling list_datasets first'), plus a recovery path when the call fails ('widen the question or call list_datasets'). Three concrete example questions anchor the intended usage pattern.

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.