Skip to main content
Glama

format_ina_citation

Format Immigration and Nationality Act citations with an optional parallel U.S. Code cite to create consistent statutory references in legal documents.

Instructions

Format an Immigration and Nationality Act (INA) citation with optional U.S. Code parallel cite.

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": {
      "section": "<section>"
    },
    "name": "format_ina_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesINA section number (e.g., "203(b)(2)")
uscTitleNoU.S. Code title (default 8 for immigration)
uscSectionNoOptional parallel U.S. Code section (e.g., "1153(b)(2)")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, but this is a low-risk pure formatting function and the description does disclose the parallel-cite behavior. It does not say what the rendered citation looks like, whether the section string is validated, or what happens with a malformed section, which leaves real gaps for a formatter whose entire value is its output shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the optional parallel-cite qualifier is attached directly to the thing it modifies. Nothing could be removed without losing information.

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 is the only place an agent could learn the return format, and it stays silent on it. For a three-parameter formatter this is adequate to call correctly but not complete enough to predict the result.

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?

Schema description coverage is 100%, so every parameter including the uscTitle default of 8 is already documented in the schema. The description only restates that the U.S. Code cite is optional, adding nothing about accepted section syntax beyond the schema's own example.

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?

States a specific verb ('Format') and a specific resource ('Immigration and Nationality Act (INA) citation'), plus the optional parallel U.S. Code cite. The resource name alone separates it from format_case_citation, format_cfr_citation, and format_uscis_policy_citation, though the description never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says what it produces but never says when to reach for it versus the other citation formatters or get_common_citations. A user citing an INA section in a brief has to infer that this is the right tool, and nothing tells them when a parallel cite should or should not be requested.

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