Skip to main content
Glama

Validate Claim

validate_claim
Read-onlyIdempotent

"Is it true that…" / "fact check" / "verify the claim that…" / "did X really…" / "was Y actually…" / "confirm or refute" / "true or false" — natural-language claim verification against authoritative sources. Use whenever the agent needs to check whether something a user said is factually correct. Company-financial claims (revenue, net income, cash for public US companies) verify via the structured SEC EDGAR + XBRL fast path with exact percent-delta math; ANY OTHER factual claim (macro statistics, rates, prices, drug data, records) automatically falls through to the grounded pipeline — routed to the right live source, answered with verbatim evidence, then judged. Returns a verdict (confirmed / approximately_correct / refuted / inconclusive / unsupported / could_not_verify), the grounded or structured actual value with pipeworx:// citation, and reasoning. IMPORTANT for callers: could_not_verify means the check did not happen (our LLM or source failed) and carries verification_error{stage,detail} — it is NOT evidence for or against the claim, and must not be shown as one. unsupported means we looked and cover no source for it. Replaces 4–6 sequential calls (NL parsing → entity resolution → data lookup → comparison).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimYesNatural-language factual claim, e.g., "Apple's FY2024 revenue was $400 billion" or "Microsoft made about $100B in profit last year".
tolerance_pctNoMax percent deviation still graded approximately_correct (0.5–50). Overrides the tolerance implied by the claim wording — set 1–2 for hallucination detection where any material error must be refuted. Default: implied by wording, capped at 5.

TDQS

A5/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), the description discloses crucial behavioral traits: the two distinct execution paths (SEC EDGAR fast path vs grounded pipeline), the meaning of each verdict, and especially the warning that could_not_verify means the check did not happen (verification_error) and must not be used as evidence. This goes far beyond the annotation hints and prevents misinvocation.

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?

The description is longer than average but every sentence contributes: it opens with user-phrase triggers, defines the scope, explains routing, enumerates outputs, provides critical caller warnings, and ends with an efficiency justification. It is well-structured and front-loaded, with no filler or redundancy.

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?

Even without an output schema, the description fully specifies what callers will receive: verdict enum, actual value with a pipeworx:// citation, reasoning, and error structure for could_not_verify. It also addresses edge cases (unsupported vs could_not_verify) and the two data-source paths. For a tool of this complexity, the description is exceptionally complete.

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?

The schema already describes both parameters, and the description adds valuable context: the claim parameter examples show expected formats, and tolerance_pct is explained with its role in overriding the implied tolerance, a recommendation for hallucination detection, and its default (capped at 5). This exceeds the baseline for 100% schema coverage by adding operational guidance.

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 clearly states a specific verb ('verify') and resource ('natural-language claim verification against authoritative sources'). It provides concrete trigger phrases ('fact check', 'confirm or refute'), describes the two routing paths (SEC EDGAR + XBRL for company-financial claims, grounded pipeline for other claims), and lists the exact verdict values returned. This distinguishes it from sibling tools like ask_pipeworx_grounded or deep_research by focusing on claim adjudication with a defined outcome.

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 explicitly states when to use: 'Use whenever the agent needs to check whether something a user said is factually correct.' It also clarifies the scope by distinguishing company-financial claims from any other factual claim and explains the fallback behavior. The note that it 'Replaces 4–6 sequential calls' gives a clear reason to prefer this tool over composing multiple primitive calls.

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.

TDQS

A4/5.0
Disambiguation3/5

Some tools have clearly distinct purposes (remember/recall/forget, subscribe/unsubscribe), but the ask_pipeworx family overlaps heavily — ask_pipeworx_beta is explicitly identical today, and ask_pipeworx_grounded/deep_research are variations on the same routing core. Polymarket tools and comparison/profile tools also have fuzzy boundaries, though detailed descriptions help agents choose.

Naming Consistency4/5

Most tools follow a lowercase snake_case verb_noun pattern (search_datasets, get_dataset, validate_claim, resolve_entity). A few deviate with bare verbs (remember, forget, recall) or noun-like names (dataset_info, entity_profile, pipeworx_trending), but the overall style is predictable and readable.

Tool Count2/5

34 tools is a heavy surface for one server, and the scope sprawls across CMS open data, general data research, prediction markets, memory storage, and subscription management. Many of these could be split into separate coherent servers, and several meta-routers (ask_pipeworx, deep_research, discover_tools, suggest_questions) overlap in purpose.

Completeness4/5

Within the broad data-research domain the set is fairly complete: search, retrieval, grounding, comparison, entity resolution, verification, subscriptions, and memory are all covered with no obvious dead ends. However, the server is named 'Cms' yet only three tools actually touch CMS datasets, leaving that narrow purpose under-covered relative to the rest.