Skip to main content
Glama

format_case_citation

Formats U.S. immigration case citations in Bluebook style from case name, reporter, volume, page, court, and year for legal briefs and petition documents.

Instructions

Format a legal case citation in Bluebook format. Use for cases like Matter of Dhanasar or Kazarian v. USCIS.

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": {
      "caseName": "<caseName>",
      "volume": "<volume>",
      "reporter": "<reporter>",
      "page": "<page>",
      "court": "<court>",
      "year": "<year>"
    },
    "name": "format_case_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesStarting page number
yearYesYear of decision
courtYesCourt abbreviation (e.g., "AAO", "BIA", "9th Cir.")
volumeYesReporter volume number
caseNameYesName of the case (e.g., "Matter of Dhanasar")
pinpointNoOptional specific page reference
reporterYesReporter abbreviation (e.g., "I&N Dec." for immigration decisions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing beyond the output style ('Bluebook format'). It does not say what is returned (a formatted string?), whether formatting is deterministic, or how invalid reporter/court combinations are handled. For a pure transformation tool this is low risk, but the disclosure gap is real.

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?

Two short sentences, purpose front-loaded before the example. The second sentence is largely illustrative scope rather than new information, but it earns its place by clarifying the case-law domain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should state the return value (a formatted citation string) and note how optional pinpoint is rendered. It covers the core purpose adequately for a simple formatter but leaves the output contract unspecified.

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 every parameter carries its own description with examples (court: 'AAO', 'BIA', '9th Cir.'; reporter: 'I&N Dec.'), so the schema does the heavy lifting. The description's mention of real case names echoes the caseName example without adding new semantics; baseline would be 3, and the tool's zero-ambiguity parameter set slightly supports a 4.

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 names a specific verb and resource: 'Format a legal case citation in Bluebook format.' That noun phrase distinguishes it from the sibling citation formatters (format_cfr_citation, format_ina_citation, format_uscis_policy_citation), which handle regulations, statutes, and policy rather than case law. It never explicitly names those siblings, so it stops short of a 5.

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?

'Use for cases like Matter of Dhanasar or Kazarian v. USCIS' gives example-driven context that implies the domain (immigration case law). There is no explicit when-not guidance, e.g. that regulations or INA sections should go to the CFR/INA formatters instead. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.