Skip to main content
Glama

Rule

rule

Issue the deterministic ruling: allocates 100% of the disputed amount from evidence weights + trust scores, and emits an escrow instruction (release/refund). Exactly-once — re-ruling returns the existing ruling.

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": "rule"
  }
}

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

B3.3/5.0
Behavior2/5

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

The description adds genuinely useful behavior beyond annotations: the allocation rule (weights + trust scores), the emitted escrow side effect (release/refund), and exactly-once semantics. However, 'Exactly-once — re-ruling returns the existing ruling' describes idempotent behavior while the annotations set idempotentHint=false, creating a conflict over whether repeated calls have additional effect. Useful detail is undercut by that inconsistency, so it cannot score higher.

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?

Three short sentences, front-loaded with the action and its allocation rule, then the side effect, then the exactly-once caveat. No filler or restated title. Slightly dense with formulas but each clause carries signal.

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?

An output schema exists and the description still helpfully names the escrow outcome (release/refund), so return values need no further explanation. What is missing is prerequisite state (case must be filed, evidence and trust scores in place) and how this differs from `verify_ruling`, which matters for a mutation that finalizes a dispute.

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 (`case_id`) with 100% schema description coverage that already ties it to `file_case`, so the schema does the semantic work. The description never mentions the parameter at all, adding no meaning beyond the schema. Baseline 3 applies when coverage is complete.

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 and resource ('Issue the deterministic ruling') and even outlines the mechanism: allocation of 100% of the disputed amount from evidence weights plus trust scores, then an escrow instruction (release/refund). An agent can tell what this does and what it produces. It does not, however, distinguish itself from the sibling `verify_ruling`, so a 5 is not warranted.

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 agent must infer that a case is filed, evidence submitted, and trust scores set before ruling, and nothing states when to call this versus `verify_ruling` or what to do if ruling is premature. The 're-ruling returns the existing ruling' note is the only real call-time guidance. Adequate but leaves key routing decisions to inference.

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.