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

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

Annotations already show read-only, open-world, idempotent, non-destructive. The description adds substantial behavioral detail: two distinct processing paths, return verdict list, meaning of could_not_verify (with verification_error fields), and unsupported vs could_not_verify distinction. This is critical context for safe interpretation and exceeds annotation coverage.

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 every sentence carries meaningful information—usage triggers, routing, return values, error semantics. It is front-loaded with the primary use case. Slightly dense but not bloated; could be trimmed slightly without loss, but no filler.

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?

With no output schema, the description thoroughly explains return verdicts, evidence citations, and error handling. It covers both claim categories, tolerance behavior, and the critical distinction between could_not_verify and unsupported. Complete for a tool of this complexity.

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?

Schema covers both parameters fully, but the description adds unique semantics: tolerance_pct overrides implied tolerance, recommended range for hallucination detection, default behavior (implied by wording, capped at 5). This goes well beyond the schema's basic descriptions and is highly actionable.

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 the tool's purpose: natural-language claim verification against authoritative sources. It includes trigger phrases ("Is it true that…") and explicitly distinguishes itself as the fact-check tool. It differentiates from siblings like ask_pipeworx by focusing on verifying factual claims, not just answering questions.

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?

Provides explicit guidance: "Use whenever the agent needs to check whether something a user said is factually correct." It also explains routing behavior (SEC EDGAR for company-financial claims, grounded pipeline for other claims) and notes efficiency benefit (replaces 4–6 sequential calls). Doesn't explicitly name alternative tools, but the usage context is clear.

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

Several tool pairs have blurred boundaries: 'ask_pipeworx', 'ask_pipeworx_beta', and 'ask_pipeworx_grounded' serve overlapping routing purposes with minor differences in grounding or versioning, which can confuse an agent. Similarly, 'pipeworx_feedback' and the user feedback mechanism inside other tools lack clear tool-level distinction. Most other tools are distinct but the cluster of ask_pipeworx variants lowers overall clarity.

Naming Consistency4/5

Tool names largely follow a consistent verb_noun or prefix_noun pattern (e.g., ask_pipeworx, resolve_entity, scan_dependency). Some names like 'bet_research' and 'datasets' deviate from this pattern but remain readable. No chaotic mixing of conventions like camelCase and snake_case is present, so consistency is high overall.

Tool Count3/5

With 34 tools, the count is on the higher side for a single server, yet the tool set covers a broad domain of data access, analysis, and monitoring (data pipelines, prediction markets, compliance scans). Given the variety of distinct capabilities offered, 34 is borderline but not excessive enough to drop to a 2, as each tool addresses a concrete need.

Completeness5/5

The tool set offers a remarkably complete lifecycle for data operations: discovery (suggest_questions, discover_tools, datasets), entity resolution (resolve_entity, metadata), querying and retrieval (ask_pipeworx, deep_research, query), analysis and comparison (compare_entities, entity_profile, validate_claim), memory (remember, recall, forget), monitoring (subscribe, recent_alerts, polymarket_edge_tracker), and feedback (pipeworx_feedback). Niche tools like bet_research, scan_dependency, and generate_llms_txt further fill domain-specific gaps. No obvious missing operations for the stated purpose.