Skip to main content
Glama

Open Legal Data (Germany)

Get references in a decision

get_case_references
Read-onlyIdempotent

Get forward references FROM a case (what this case cites).

    Returns all laws and cases that the given case references in its
    text. Useful for understanding the legal basis of a decision.

    Args:
        case_id: The database ID of the case.
    

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

Input Schema

NameRequiredDescriptionDefault
case_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds that the result covers 'all laws and cases ... in its text', which is useful scope context, but says nothing about behavior for an unknown case_id, result ordering, 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.

Conciseness4/5

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

Short and front-loaded: the direction-defining sentence comes first, followed by return contents and rationale. The 'Args:' block for a single parameter is slightly padded but not 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?

With no output schema, the description does the right thing by summarizing the return set (laws and cases cited by the case). Remaining gaps — the shape of each returned item and how to obtain a valid case_id — are modest for a one-parameter read tool.

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 coverage is 0%, so the description carries the burden; it partially does by clarifying that case_id is 'the database ID of the case' rather than a citation string, which is meaningful. However, it never says where that ID comes from (e.g., a search or get_case result), leaving the only parameter under-explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource and, critically, pins down directionality: 'forward references FROM a case (what this case cites)'. That phrasing lets an agent distinguish it from the reverse-direction sibling get_citing_cases without inspecting either schema.

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?

The line 'Useful for understanding the legal basis of a decision' gives a motivating context, but there is no explicit when-to-use/when-not guidance and no named alternative for retrieving reverse citations. 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.