Skip to main content
Glama

Dbrail Locations

dbrail_locations
Read-onlyIdempotent

Search German / European rail stations, stops, and places by name (e.g. "Berlin Hbf", "München", "Zürich HB"). Returns matches with a stop id, coordinates, and country. Keyless. You do NOT have to call this first, dbrail_departures, dbrail_arrivals and dbrail_journeys all accept a plain station name and resolve it themselves; use this when you want to disambiguate between similarly-named stations or need coordinates.

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": {
      "query": "Berlin Hbf"
    },
    "name": "dbrail_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch term, e.g. "Berlin Hbf", "Hamburg", "Wien Hauptbahnhof".
resultsNoMax results to return (default 10, max 25).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond that: the service is keyless (no auth), and results include stop id, coordinates and country. It does not discuss rate limits or result ordering, which keeps it below a 5.

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?

Content is front-loaded: purpose, examples, return fields, then the routing advice. Every sentence carries distinct information (what it searches, what it returns, auth-free, when to prefer alternatives) with no filler.

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?

With only two simple parameters, no nested objects and no output schema, the definition supplies exactly what an agent needs: search semantics, return content, auth posture, and the decision rule versus sibling tools. Nothing material 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 description coverage is 100% and both parameters are documented there with examples and defaults (max 10, max 25). The description implies name-based querying and disambiguation use cases but adds no syntax, formatting, or matching-behavior detail beyond the schema, so the baseline 3 applies.

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 opens with a specific verb+resource: 'Search German / European rail stations, stops, and places by name', and gives concrete example queries. It also states the return payload (stop id, coordinates, country), so an agent can distinguish it from dbrail_departures/arrivals/journeys 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 Guidelines5/5

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

It explicitly says the tool is optional ('You do NOT have to call this first'), names the three sibling tools that self-resolve station names, and states the two conditions that select this tool: disambiguating similarly-named stations or needing coordinates. When-to-use and when-not-to-use are both present.

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.