Skip to main content
Glama

swiss_call_tool

Read-onlyIdempotent

Run a selected Swiss open-data tool by name, with arguments validated against its schema before execution.

Instructions

Run one tool by name. Arguments are checked against that tool's schema before it runs.

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

Input Schema

NameRequiredDescriptionDefault
nameYesTool name from swiss_search_tools
argumentsNoArguments for that tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, so the bar is lower, and the description usefully adds that arguments are validated against the target tool's schema before execution. It does not disclose what happens when validation fails (error shape), whether the underlying tool's result is passed through verbatim, or that the invoked tool may itself be mutating despite the wrapper's readOnlyHint.

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 short, front-loaded sentences with zero filler; the action and its validation guarantee are stated in order of importance.

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

Completeness3/5

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

With only two parameters and no output schema, the key missing piece is the return value — a dispatcher should say it returns the underlying tool's result as-is (including error payloads). Validation-failure behavior and the discovery dependency are also unstated, leaving a meaningful gap for a meta-tool.

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 100%, so baseline is 3, but the description adds real meaning: the nested 'arguments' object must conform to the named tool's schema and is checked before execution — beyond the schema's bare 'Arguments for that tool'.

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?

A specific verb+resource: 'Run one tool by name' is a clear invocation/dispatch purpose, and the second sentence adds that arguments are schema-validated. It does not distinguish itself from siblings like swiss_search_tools, though the name parameter's schema hint implies the search-first workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not guidance, no mention of needing to discover a tool name via swiss_search_tools first, and no statement about preferring direct siblings (e.g. get_departures) over this dispatcher. The workflow is only weakly implied by 'Run one tool by name'.

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