Skip to main content
Glama

Ch Bger Get

ch_bger_get
Read-onlyIdempotent

Fetch one Federal Supreme Court decision by id (from ch_bger_search, e.g. "2008-11-11-1C_489-2008"): the published decision text, paged with max_chars/offset. The text is the court's published, anonymised version in the original language.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "2008-11-11-1C_489-2008",
      "max_chars": 1500
    },
    "name": "ch_bger_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDecision id from ch_bger_search (date plus file number), e.g. "2008-11-11-1C_489-2008".
offsetNoCharacter offset for paging (default 0).
max_charsNoMax characters to return (default 12000, max 40000).

Output Schema

NameRequiredDescriptionDefault
idNo
noteNo
textNo
foundNo
offsetNo
sourceNo
has_moreNo
data_as_ofNo
file_numberNo
next_offsetNo
total_charsNo
citation_urlNo
empty_reasonNo
decision_dateNo
returned_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description adds genuinely new context: the returned text is the court's published, anonymised version in the original language (no translation), and that content is paged. It stops short of describing error behavior for invalid ids or how truncation is signaled.

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?

Two sentences, front-loaded with the verb and resource, then the paging and content caveats. No redundant padding.

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 an output schema present, return values needn't be explained, and the description covers the id source, paging controls, and content nature. Minor gaps remain around failure modes (invalid id, offset beyond text length), but nothing essential for a correct call is missing.

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 100%, so id provenance, offset default, and the 12000/40000 char limits are already documented in the schema. The description only restates 'paged with max_chars/offset' and gives a sample id, adding little beyond the structured fields.

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 ('Fetch one ... decision by id') and resource, and implicitly contrasts with ch_bger_search by noting the id comes from search. An agent can distinguish retrieval-by-id from searching without opening the schema.

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?

Explicitly tells the agent the id must come from ch_bger_search, which establishes the search-then-fetch workflow. It lacks an explicit 'do not use this to search' exclusion, but the routing context is clear.

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.