Skip to main content
Glama

Case check

case_check
Read-onlyIdempotent

A provision for one case. With commenced (the day the case began): which later changes to the provision reach that case (from any scope the record holds, such as "cases commenced on or after"), and the text that applies to it, period by period. With decided (the day a court decided): is the text the court applied still the text in force (today, or on a date), and if not, which laws changed it and how. With neither: the judgments the record holds for the provision, each checked that way. Give both for a case that has a decision.

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": {
      "path": "<path>"
    },
    "name": "case_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoAn in-force date, YYYY-MM-DD, or "today". Defaults to today.
pathYesA provision file, for example united-states/federal/usc/title-11/1182.md, from find_provision.
decidedNoThe day a decision was made, YYYY-MM-DD: whether the text it applied is still in force.
case_nameNoOptional, to label a decision in the answer.
commencedNoThe day the case (or matter) was commenced, YYYY-MM-DD: which changes reach it, and the text that applies.
max_resultsNoRecorded judgments to check, latest first (default 50, at most 500).
include_period_textsNoWith commenced: also give the full text of every period (long); the changes between periods come anyway.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish this is read-only, idempotent, non-destructive, and closed-world. The description adds meaningful behavior beyond that: mode-dependent outputs, period-by-period text, judgment checking, and the fact that include_period_texts can produce long output. It does not discuss error behavior, but the core behavioral profile is well disclosed.

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?

The description is front-loaded and every sentence contributes to explaining the mode behavior. It is dense and somewhat clause-heavy, but not repetitive or wasteful.

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?

This is a complex, seven-parameter tool, and an output schema exists, so the description need not explain return values in detail. It covers the key mode distinctions and outcomes well, though it could be slightly clearer about defaults and edge cases.

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%, so the baseline is 3. The description still adds value by explaining how commenced and decided interact and what 'neither' produces, plus that setting both yields both forms of analysis; this goes beyond the parameter definitions themselves.

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 identifies the resource and operation: it checks a provision against a case or decision, with distinct behavior for commenced, decided, and neither. The purpose is specific, though the opening phrase 'A provision for one case' is slightly opaque and no sibling tool is named for differentiation.

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?

It clearly explains when each mode applies: use commenced to see which later changes reach a case and the applicable text period by period; use decided to test whether the court-applied text is still in force; use neither to check recorded judgments. It does not name alternatives or exclusions, so it falls short of full when-not 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.