Skip to main content
Glama

Resolve a version id

resolve_version
Read-onlyIdempotent

Get exactly the version a stored id names, forever, even after it was superseded or withdrawn: the values, effective dates, citation, verification record and its status today. Version ids (rv_…) come from the id of any rule response. Use it to re-check the value a decision relied on, or to show an auditor which rule applied. page_url is the rule's juriset.dev page for people. Example: {"version_id": "rv_000000000000000000000000F2"}. Informational only, not legal advice.

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": {
      "version_id": "<version_id>"
    },
    "name": "resolve_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
version_idYesA version id from a rule response's `id`, e.g. `rv_000000000000000000000000F2`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds real substance on top: the permanence guarantee for superseded/withdrawn versions, the content of the returned record (values, effective dates, citation, verification record, current status), the meaning of page_url as a human-facing page, and an 'informational only, not legal advice' disclaimer.

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 core guarantee and the return content before the usage and provenance notes; every sentence carries information. Slight redundancy in restating an example call that the schema already supplies, and the disclaimer sentence is necessary but adds bulk.

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?

For a single-parameter lookup with no output schema, the description covers the input origin, the permanence semantics, and the shape of the return record, which is exactly what an agent needs. Nothing material is left unspecified for this complexity level.

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% and already documents the pattern, max length and an example for version_id, so the baseline is 3. The description adds genuine meaning beyond the schema by stating where ids originate ('the `id` of any rule response') and reinforcing the `rv_…` shape, which is the main source of caller errors.

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 and resource ('Get exactly the version a stored id names') and adds a scope qualifier that separates it from the dated lookup siblings: it resolves a pinned id permanently, 'even after it was superseded or withdrawn'. An agent can tell this apart from get_rule_as_of or get_rule_history without opening any schema.

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?

Gives two concrete usage scenarios, re-checking a value a decision relied on and showing an auditor which rule applied, plus the provenance rule that ids come from the `id` of any rule response. It does not explicitly name an alternative tool or a when-not condition, so it stops short of full routing 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.