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 mark readOnly/idempotent/non-destructive, and the description adds the crucial semantic distinction between could_not_verify, unsupported, and actual verdicts, plus the verification_error structure. It also discloses the routing behavior (financial vs non-financial) and the 'exact percent-delta math' for financial claims, which is beyond annotation info.

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 long but well-structured, with trigger phrases leading to capability, then routing details, then return semantics, then an 'IMPORTANT for callers' block. Every section adds necessary information for correct invocation and interpretation, though it could be tightened by removing some redundancy (e.g., listing both 'Is it true…' and 'true or false').

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 fully specifies the return value: the six verdict values, the actual value with citation, and reasoning. It also explains the two edge-case verdicts and that the tool replaces multiple sequential steps, giving the agent enough context to invoke it correctly and interpret results.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful guidance for tolerance_pct: 'set 1–2 for hallucination detection' and explains the default is 'implied by wording, capped at 5.' The claim parameter is already well described with examples in the schema, and the description reinforces it with phrasing cues.

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 concrete natural-language phrasings ('fact check', 'confirm or refute'), then states the resource: 'natural-language claim verification against authoritative sources.' It distinguishes itself from sibling tools by noting it replaces a 4–6 call pipeline and by specifying dual routing (SEC EDGAR vs grounded pipeline).

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?

Explicitly says 'Use whenever the agent needs to check whether something a user said is factually correct.' It also clarifies when not to interpret results as evidence: could_not_verify means the check didn't happen, and unsupported means no source exists. This gives clear decision guidance.

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 overlapping clusters exist: ask_pipeworx/ask_pipeworx_beta/ask_pipeworx_grounded/deep_research all handle research questions, polymarket_edges and polymarket_arbitrage both scan for trading opportunities, and discover_tools/suggest_questions serve similar discovery purposes. The long, use-case-specific descriptions help, but an agent could still easily pick the wrong tool among these near-duplicates.

Naming Consistency4/5

Most tools follow a snake_case verb_noun or noun pattern (resolve_entity, validate_claim, list_subscriptions, h1b_salary), which is fairly consistent. However, there are deviations: bare verbs like recall/remember/forget/subscribe, noun-only phrases like entity_profile and recent_changes, and the ask_pipeworx_beta suffix variant break the pattern slightly.

Tool Count2/5

34 tools is well past the 25+ threshold, and the server is named 'H1b' while only 3 of the 34 tools relate to H-1B data. The rest is a sprawling mix of data research, prediction-market analytics, memory, subscriptions, AI visibility checks, and unrelated utilities like generate_llms_txt and scan_dependency — a severe scope mismatch.

Completeness4/5

As a de facto Pipeworx research platform, the surface is nearly complete: open-ended queries, grounded evidence mode, deep multi-source research, entity resolution, comparison, claim validation, subscriptions, memory, and feedback. The H-1B sub-domain covers employer, salary, and top-sponsor lookups, though the mention of green cards is a small mismatch since only LCA data is provided.