Skip to main content
Glama

Claim by id

claim
Read-onlyIdempotent

One claim by id with its sources and supersession links, its three dates (valid_from, published, recorded) and the check behind it: the method and, where kept, the passage on the source page that states the value.

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>"
    },
    "name": "claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesClaim id, e.g. clm_01J9X4N2

Output Schema

NameRequiredDescriptionDefault
idNo
pageNoThe page on asof.is that states the same answer
legendNoWhat the row fields and why_not codes mean
sourcesNo
supersedesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "legend": {
      +      "description": "What the row fields and why_not codes mean",
      +      "type": "object"
      +    },
      +    "page": {
      +      "description": "The page on asof.is that states the same answer",
      +      "type": "string"
      +    },
      +    "sources": {
      +      "type": "array"
      +    },
      +    "supersedes": {
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and a closed-world scope, so the safety profile is covered. The description adds real payload context — that supersession links and provenance ('the check behind it') come back with the record — but says nothing about what happens for an unknown id, partial results, or how 'where kept' conditions the passage.

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?

A single dense sentence that front-loads the core answer ('one claim by id') before enumerating contents. The trailing clause about 'the check behind it: the method and, where kept, the passage...' is slightly convoluted but each clause carries information rather than repetition.

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 one-parameter read with an output schema and full annotation coverage, the definition supplies enough to invoke it correctly and to know the shape of the conceptual result. The only gap is behavior on a missing or superseded id, which the output schema and annotations partly absorb.

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?

There is a single required parameter with 100% schema description coverage including a concrete example format (clm_01J9X4N2), so the schema carries the full burden. The description adds nothing about the id beyond what the schema states, which is acceptable at this coverage level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and access pattern: a single claim retrieved by id, and enumerates what travels with it (sources, supersession links, three dates, the check method and passage). An agent can tell this is a point lookup of a claim record rather than a search or aggregate view. It does not explicitly name a sibling to contrast with, so it stops short of 5.

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

Usage Guidelines2/5

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

The description never says when to reach for this versus search, fetch, entity_state, or timeline, nor any precondition such as needing an id obtained elsewhere. Usage is only inferable from the phrase 'by id'. No exclusions or routing guidance are present.

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