Skip to main content
Glama

Search international treaties

search_international_treaties
Read-only

Search international treaties and agreements binding Switzerland by title keyword or SR area to retrieve SR numbers, entry-into-force dates, in-force status and Fedlex links.

Instructions

Search international treaties and agreements binding Switzerland (the international part of the Classified Compilation, SR numbers starting '0.': bilateral agreements with the EU, double-taxation agreements, conventions, UN/Council of Europe treaties) by title keyword and/or SR area. Returns SR number, title, short title, entry-into-force date, in-force status and the Fedlex link. Titles are language-specific: {query:'Doppelbesteuerung'} (de), {query:'double imposition', language:'fr'}, {query:'Freizügigkeit'}, {sr_prefix:'0.142.11'} (EU free movement area).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_international_treaties"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoTitle keyword in the chosen language, e.g. 'Doppelbesteuerung', 'Deutschland', 'Menschenrechte'
languageNoLanguage of titles to searchde
sr_prefixNoRestrict to an SR area of international law, e.g. '0.1' (international law), '0.672' (double taxation)
in_force_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description goes further by listing the return payload (SR number, title, short title, entry-into-force date, in-force status, Fedlex link) and warning that titles are language-specific. That language caveat is genuinely useful behavioral context an agent would otherwise get wrong. The one gap is that the default in_force_only=true filtering behavior is never explained, so an agent cannot tell that repealed treaties are silently excluded.

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?

The description is front-loaded with scope, then return fields, then concrete invocation examples, and every clause carries information. The long parenthetical enumerating treaty types is dense but earns its place by defining the corpus boundary.

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 and 60% parameter coverage, the description fills the important holes: what comes back and how language affects matching. The missing piece is the semantics of in_force_only's default, which affects result sets for a legal corpus where repealed agreements matter, but the definition is otherwise sufficient to call the tool correctly.

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?

At 60% schema coverage, the description meaningfully supplements the schema: it maps query examples onto specific languages ('Doppelbesteuerung' for de, 'double imposition' with language='fr') and shows an sr_prefix value ('0.142.11') tied to a real subject area. It says nothing about limit or in_force_only, so two of five parameters gain no added meaning.

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 international treaties and agreements binding Switzerland') and pins down the corpus precisely: the international part of the Classified Compilation, SR numbers starting '0.'. It enumerates the covered sub-types (EU bilateral agreements, double-taxation agreements, conventions, UN/Council of Europe treaties), which lets an agent separate it from search_federal_law without opening any 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?

Clear context is given for when this tool is the right choice: international-law items keyed by SR '0.' prefixes, with worked query examples for German, French and an SR-area lookup. It does not explicitly name a sibling alternative (e.g. search_federal_law for domestic law) or state when not to use it, so it falls short of full routing guidance.

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

Deploy Server

Other Tools