Skip to main content
Glama

Verify ruling

verify_ruling
Read-onlyIdempotent

Recompute the ruling from its cited evidence + trust inputs and check it matches the stored allocation (machine-checkable justice).

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": {
      "case_id": "<case_id>"
    },
    "name": "verify_ruling"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id returned by file_case.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / case_id / description
      Added value: +"The case id returned by file_case."
  2. First observed

TDQS

A3.7/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 openWorldHint=false, so the safety profile is covered. The description adds real substance beyond that by explaining the mechanism: the ruling is recomputed from its cited evidence plus trust inputs and compared against the stored allocation, which tells the agent this is a deterministic self-consistency check with no side effects on stored state.

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?

It is a single front-loaded sentence that leads with the action and the comparison target, so an agent gets the core behavior immediately. The trailing parenthetical '(machine-checkable justice)' is decorative and does not earn its place, which keeps it from a 5.

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 present, the result shape need not be explained, and the rich annotations cover safety and determinism. For a one-parameter read-only tool, the description supplies the essential inputs to the computation (cited evidence, trust inputs, stored allocation); only the mismatch behavior is left implicit, which the output schema likely covers.

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?

There is a single parameter with 100% schema coverage, and the schema already explains that case_id is the id returned by file_case. The description adds no further meaning about the parameter, so the baseline of 3 for high-coverage schemas applies.

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?

The description gives a specific verb pair (recompute, check) and a specific resource (the ruling), and makes clear this is a verification path rather than ruling generation, which separates it from siblings like rule or get_case. It stops short of naming those siblings explicitly, and the parenthetical 'machine-checkable justice' adds flavor rather than precision.

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?

Usage is only implied: the phrase 'matches the stored allocation' signals this runs after a ruling already exists, so an agent can infer post-ruling verification. There is no explicit when-to-use or when-not guidance and no mention of alternatives such as get_case or rule, leaving the agent to infer the sequencing.

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.