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

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive behavior, satisfying the safety profile. The description goes further by explaining failure semantics: could_not_verify means the check did not happen and carries verification_error, unsupported means no source covers the claim, and both must be interpreted differently from confirmed/refuted. No contradiction with annotations.

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 description is lengthy but information-dense; every sentence contributes (examples, routing logic, return structure, failure modes, efficiency). It is front-loaded with query patterns and follows a logical outline, though it could be tightened without losing value.

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, but the description compensates by enumerating the verdict values, stating the return includes the actual value with pipeworx:// citation and reasoning, and detailing error handling for could_not_verify. This gives enough context for an agent to invoke the tool and interpret results correctly.

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?

Input schema has 100% description coverage, so the baseline is 3. The description adds meaningful nuance for tolerance_pct, explaining it overrides the claim-wording-implied tolerance and recommending 1–2% for hallucination detection. This goes beyond the schema's simple type/range description.

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 opens with natural-language query patterns ('Is it true that…' / 'fact check') and clearly states the core function: natural-language claim verification against authoritative sources. It differentiates from siblings by noting it replaces 4–6 sequential calls and by routing company-financial claims vs. other claims to different pipelines.

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 says 'Use whenever the agent needs to check whether something a user said is factually correct.' It also gives concrete guidance on when the structured SEC EDGAR path is used versus the grounded pipeline, and clarifies the important distinction between could_not_verify and unsupported verdicts, helping callers avoid misusing results.

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.1/5.0
Disambiguation3/5

Most tools have distinct purposes, but several clusters overlap: ask_pipeworx vs ask_pipeworx_beta are currently functionally identical, polymarket_arbitrage / polymarket_edges / polymarket_kalshi_spread all hunt mispricings via different mechanisms, ai_visibility_check is wrapped by scan_competitor_ai_presence, and discover_tools vs suggest_questions both serve tool discovery. The rich descriptions mitigate but do not eliminate misselection risk.

Naming Consistency4/5

Names are all snake_case and follow recognizable conventions: verb_noun for actions (compare_entities, resolve_entity, validate_claim), domain-prefixed families (polymarket_*, pipeworx_*, recent_*, ask_pipeworx_*), and a few bare verbs (remember, recall, query). Minor deviations like bet_research (noun_verb) and noun-only names (datasets, metadata) break the pattern, but the overall scheme is predictable.

Tool Count2/5

At 34 tools, this exceeds the 25+ threshold for 'too many' and bundles several distinct domains — general data querying, prediction markets, AI visibility, memory, subscriptions, open data, and npm auditing — into one server. The breadth is defensible for a data platform, but the agent-facing surface is sprawling and would benefit from splitting into focused servers.

Completeness4/5

The core data workflow is well covered: discover (discover_tools, suggest_questions), resolve (resolve_entity), query (ask_pipeworx), ground (ask_pipeworx_grounded, validate_claim), research (deep_research), compare (compare_entities), profile (entity_profile), and changes (recent_changes). Prediction markets, memory, and subscriptions each have full lifecycles. The main gap is no tool for fetching returned pipeworx:// citation URIs directly, plus a few soft-failing sources.