Skip to main content
Glama

Show law card

show_law
Read-only

Show units of law (statutes, regulations, constitutional provisions) as an interactive card: title, status, source and opening text; the user opens amendment history and citation edges. Call it whenever your answer cites specific law, passing every citation in one call.

laws is at most 10 printed citations (26 U.S.C. 2031), citation keys or amendment://domain/... resources.

view history takes exactly one law and draws a timeline, newest first, of the law that enacted it and each amendment or repeal. Call it whenever your answer is about how a section changed. A short timeline does not prove nothing else changed the unit.

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": {
      "laws": "<laws>"
    },
    "name": "show_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawsYesPrinted citations (26 U.S.C. 2031), citation keys or amendment://domain/... resources, one per unit.
viewNounits

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), and the description adds real behavior: the card exposes title/status/source/opening text with user-expandable amendment history and citation edges, and history is ordered newest-first and covers the enacting law plus each amendment or repeal. It even adds an epistemic caveat that a short timeline is not proof of no change — valuable beyond the annotations, though nothing is said about card truncation or size limits.

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

Conciseness3/5

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

Content is front-loaded with the units mode first, but the second paragraph largely restates the schema ('laws is at most 10 printed citations (26 U.S.C. 2031)') and the two 'Call it whenever...' sentences repeat the same imperative frame. Some trimming would sharpen it without losing information.

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?

For a two-parameter, no-output-schema tool, the description covers both modes, the shape of the returned card, the ordering of the timeline, and the per-mode input constraint. What is missing is minor: no note on card size limits or what happens with unresolvable citations.

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 50%, with the 'view' enum undocumented in the schema; the description compensates by naming both modes and their effects. Critically it adds a conditional constraint absent from the schema: 'view history takes exactly one law,' which prevents an invalid multi-item history call.

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 and resource ('Show units of law (statutes, regulations, constitutional provisions) as an interactive card') and enumerates the card's contents, plus a second mode ('view history ... draws a timeline'). An agent can tell what the tool returns, though it does not explicitly name a sibling it is not (e.g., resolve_citation) to sharpen the boundary.

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?

Gives explicit trigger conditions for both modes: 'Call it whenever your answer cites specific law, passing every citation in one call' and 'Call it whenever your answer is about how a section changed.' No exclusions or named alternatives are provided, so it stops short of a 5.

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.

Resources