Skip to main content
Glama

Check a quotation

verify_quote
Read-onlyIdempotent

Check whether a quotation appears word for word in a stored document (or one version of it), after normalizing whitespace, typographic quotes and dashes, [T]he-style alterations, amendment marks, and case. Use it before relying on a quotation.

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": {
      "id": "<id>",
      "quote": "<quote>"
    },
    "name": "verify_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe document id (or any written form of one).
quoteYesThe quotation to check, at least 12 characters.
versionNoA version id to check; default the current version, then earlier ones.

Output Schema

NameRequiredDescriptionDefault
idYes
inNo
charsYes
foundYes
md_urlYes
currentNo
version_idNo
occurrencesYes
canonical_urlYes
version_labelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed31 schema fields changed
    • removedInput schema / properties / id / title
      Removed value: -"Id"
    • removedInput schema / properties / quote / title
      Removed value: -"Quote"
    • removedInput schema / properties / version / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / version / default
      Removed value: -null
    • removedInput schema / properties / version / title
      Removed value: -"Version"
    • addedInput schema / properties / version / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"verify_quoteArguments"
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties / canonical_url / title
      Removed value: -"Canonical Url"
    • removedOutput schema / properties / chars / title
      Removed value: -"Chars"
    • removedOutput schema / properties / current / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / current / default
      Removed value: -null
    • removedOutput schema / properties / current / title
      Removed value: -"Current"
    • addedOutput schema / properties / current / type
      Added value: +"boolean"
    • removedOutput schema / properties / found / title
      Removed value: -"Found"
    • removedOutput schema / properties / id / title
      Removed value: -"Id"
    • removedOutput schema / properties / in / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / in / default
      Removed value: -null
    • removedOutput schema / properties / in / title
      Removed value: -"In"
    • addedOutput schema / properties / in / type
      Added value: +"string"
    • removedOutput schema / properties / md_url / title
      Removed value: -"Md Url"
    • removedOutput schema / properties / occurrences / title
      Removed value: -"Occurrences"
    • removedOutput schema / properties / version_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / version_id / default
      Removed value: -null
    • removedOutput schema / properties / version_id / title
      Removed value: -"Version Id"
    • addedOutput schema / properties / version_id / type
      Added value: +"string"
    • removedOutput schema / properties / version_label / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / version_label / default
      Removed value: -null
    • removedOutput schema / properties / version_label / title
      Removed value: -"Version Label"
    • addedOutput schema / properties / version_label / type
      Added value: +"string"
    • removedOutput schema / title
      Removed value: -"VerifyOutput"
  2. Changed17 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"The document's id, as search and fetch return it: code:44-7-34, bill:2025-2026/hb136, opinion:S26A0060, meeting:2026-02-05/house-rules."New value: +"The document id (or any written form of one)."
    • addedInput schema / properties / id / maxLength
      Added value: +300
    • changedInput schema / properties / quote / description
      Previous value: -"The quotation to check, at least 12 characters and at most 4,000."New value: +"The quotation to check, at least 12 characters."
    • changedInput schema / properties / quote / minLength
      Previous value: -1New value: +12
    • addedInput schema / properties / version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "A version id to check; default the current version, then earlier ones.",
      +  "title": "Version"
      +}
    • addedOutput schema / properties / canonical_url
      Added value: +{
      +  "title": "Canonical Url",
      +  "type": "string"
      +}
    • addedOutput schema / properties / current
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Current"
      +}
    • addedOutput schema / properties / found
      Added value: +{
      +  "title": "Found",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / in
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "In"
      +}
    • addedOutput schema / properties / md_url
      Added value: +{
      +  "title": "Md Url",
      +  "type": "string"
      +}
    • removedOutput schema / properties / source_field
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "title": "Source Field"
      -}
    • removedOutput schema / properties / url
      Removed value: -{
      -  "title": "Url",
      -  "type": "string"
      -}
    • removedOutput schema / properties / verified
      Removed value: -{
      -  "title": "Verified",
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / version_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Version Id"
      +}
    • addedOutput schema / properties / version_label
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Version Label"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "verified",
      -  "occurrences",
      -  "source_field",
      -  "chars"
      -]New value: +[
      +  "id",
      +  "found",
      +  "occurrences",
      +  "chars",
      +  "canonical_url",
      +  "md_url"
      +]
    • changedOutput schema / title
      Previous value: -"VerifyResult"New value: +"VerifyOutput"
  3. Changed5 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"The document's id, as search and fetch return it: code:44-7-34, bill:2025-2026/hb136, opinion:S26A0060, meeting:2026-02-05/house-rules."
    • addedInput schema / properties / id / minLength
      Added value: +1
    • addedInput schema / properties / quote / description
      Added value: +"The quotation to check, at least 12 characters and at most 4,000."
    • addedInput schema / properties / quote / maxLength
      Added value: +4000
    • addedInput schema / properties / quote / minLength
      Added value: +1
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so safety is covered. The description adds genuinely non-obvious behavior beyond that: the match is tolerant of whitespace, typographic quotes and dashes, [T]he-style alterations, amendment marks, and case, which tells the agent that a positive result still means word-for-word identity modulo normalization. It stops short of describing result shape or failure modes, but an output schema exists to carry that.

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?

Two sentences, front-loaded with the core question and then the normalization qualifiers, ending with the usage directive. Every clause carries information; nothing is padding.

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?

For a read-only, idempotent check with a fully described three-parameter schema and an output schema, the description covers the one thing the schema cannot: what counts as a match. It leaves out any hint about what a negative result implies (wrong version, below the 12-character floor, genuinely absent), which is a minor gap rather than a blocking one.

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?

Schema coverage is 100%, so id, quote, and version are all documented, including the version fallback order. The description only reinforces the 'one version of it' case and the normalization applied to the quote string; it adds little parameter-level meaning beyond the schema, so the baseline of 3 is appropriate.

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 states a precise verb and resource: check whether a quotation appears word for word in a stored document or a specific version of it. It also scopes the comparison semantics (normalization) that define what 'appears' means, which makes it clearly distinct from fetch, search, or get_changes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is one explicit usage directive: 'Use it before relying on a quotation.' That establishes a trigger but gives no when-not condition and names no alternative tool for the near-miss cases (e.g., searching for a partial phrase or fetching surrounding context), so the agent must infer the boundaries itself.

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