Skip to main content
Glama

Ch Bger Search

ch_bger_search
Read-onlyIdempotent

Search published decisions of the Swiss Federal Supreme Court (Bundesgericht, Lausanne), 2000 onward, by free text. Query in the language of the decision (German, French or Italian), e.g. "Persönlichkeitsschutz Presse", "protection des données". Returns file number (e.g. 1C 489/2008), decision date, deciding department, subject area, the topic line the court publishes, a relevance score and the id for ch_bger_get. Words are ANDed; the court reports exact and partial match counts separately. Pass department to narrow to public law, private law, criminal or social insurance.

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": {
      "limit": 3,
      "query": "Datenschutz Auskunft",
      "department": "public_law"
    },
    "name": "ch_bger_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResult page, 10 per page (default 1).
limitNoMax results from the page, 1-10 (default 10).
queryYesFree-text words (German/French/Italian). Prefix a word with + to require it exactly.
date_toNoISO date YYYY-MM-DD; decisions on or before.
date_fromNoISO date YYYY-MM-DD; decisions on or after.
departmentNoRestrict to a field of law: public_law, private_law, criminal, social_insurance (default all).

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
queryNo
sourceNo
resultsNo
data_as_ofNo
empty_reasonNo
exact_matchesNo
partial_matchesNo

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 the safe read-only, idempotent, open-world profile, so the bar is lower, yet the description still adds real behavior: terms are ANDed, the court reports exact versus partial match counts separately, and the response carries file number, date, department, subject area, topic line and a relevance score. It does not discuss rate limits or result caps beyond what the schema says.

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?

It is front-loaded with the resource and scope, then moves to query-language rules, then to returned fields and department narrowing; every sentence carries information. The enumeration of returned fields is somewhat redundant given the output schema exists.

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

Completeness5/5

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

For a six-parameter search tool with full schema coverage, annotations and an output schema, the description covers what the tool does, how to phrase and constrain the query, and how it hands off to the companion get tool. Nothing an agent needs to call it correctly 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% and every parameter is documented, including the '+' prefix and ISO date formats, so the baseline is 3. The description adds only the AND semantics and the language constraint, while the department guidance repeats the enum description, leaving the net gain modest.

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?

The description states a specific verb and resource (search published decisions of the Swiss Federal Supreme Court), a date scope (2000 onward) and free-text querying, and it explicitly hands off to the sibling ch_bger_get by noting the returned id, so an agent can distinguish the two tools without opening a 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?

It tells the agent to query in the language of the decision and to pass department to narrow by field of law, and it routes post-search retrieval to ch_bger_get. It stops short of stating when not to use this tool (e.g. case-number lookup), so it is clear context rather than full when/when-not guidance.

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.