Skip to main content
Glama

AI law, by the date each provision starts to apply

Check a claimed fact about an AI-law provision against the register

verify_quote
Read-only

Is this right? Check a claim about an AI-law provision — the date it starts applying, the instrument, the section — against our record and its quoted sentence instead of trusting it. Says whether the claim matches a stored value, appears only in the verbatim quote, or differs (and then what the record says instead). AI-law commencement dates are exactly where a confident wrong answer costs money, and several of these provisions have no calendar date at all.

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": {
      "claimed_value": "<claimed_value>",
      "record_id": "<record_id>"
    },
    "name": "verify_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNoWhich field the claim is about, if you know it. Without it, every stored field of the record is checked.
record_idYesRecord id of the provision the claim is about, e.g. "section-22757-3-1-california-ab-853".
claimed_valueYesThe value to check, exactly as claimed, e.g. "Terminated" or "2026-10-29".

Output Schema

NameRequiredDescriptionDefault
matchNo
recordNo
verdictYesmatches_record: the claim equals a stored value (match.match_type says how exactly). matches_quote: it appears in the verbatim source quote but is not a stored value. differs: the record was found and says something else — stored_values shows what. not_found: the record was not located, which says nothing about whether the claim is true.
attestationYes
quote_sourceNo
claimed_valueYes
stored_valuesNo
in_source_quoteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered; the description adds genuinely new behavioral context by disclosing the three outcome categories (matches a stored value, appears only in the verbatim quote, differs with a correction). It also warns that several provisions have no calendar date at all, which preempts a plausible misreading of an empty result. Some return detail overlaps with the existing output schema, keeping this just below a 5.

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 motivating question and then the operative verb, so the agent hits the purpose in the first sentence. The four sentences each carry distinct information (action, verdicts, stakes, null-date caveat), though the rhetorical framing ('Is this right?') is slightly decorative rather than load-bearing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema, full parameter coverage, and safety annotations, the description only needs to carry purpose and verification semantics, which it does well including the null-date edge case. It is mildly thin on what an agent should do when the verdict is 'differs' — i.e., whether to trust the record's value reflexively — but nothing essential for correct invocation is missing.

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?

The input schema has 100% description coverage, and the schema already explains that omitting 'field' checks every stored field and gives examples for record_id and claimed_value. The prose adds nothing new about parameter format or behavior, so baseline 3 applies.

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 (check/verify) plus the resource (a claim about an AI-law provision) and enumerates the claim types it handles: effective date, instrument, section. The phrase 'against our record and its quoted sentence' plus the verdict summary makes it clearly distinct from retrieval siblings like get_ai_rule, which fetch rather than adjudicate.

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?

'...instead of trusting it' establishes the usage context: call this when a claimed fact needs confirmation rather than acceptance, and the mention of 'a confident wrong answer costs money' signals when the stakes justify verification. It stops short of explicitly naming a sibling to use for the alternate task (e.g., fetching the full record via get_ai_rule), so no true exclusions are stated.

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.

Resources