Skip to main content
Glama

Find a stop

rmv_find_stop
Read-onlyIdempotent

Find RMV stops by name or partial name and get stop IDs, modes, and coordinates. Rank results near a place to resolve ambiguous names before fetching departures or planning trips.

Instructions

Searches stops in the RMV area by name, or a part of it, and returns up to count matches (default 10, at most 20), each with stop ID, name, area, DHID, coordinates and modes; near ranks stops close to a place first. Use it to get a stop ID, or when a name is ambiguous: rmv_departures and rmv_trip also take a name that fits one stop, and answer ambiguous_stop with candidates otherwise. One request of the access key's quota (answer rate_limited with retry_after_seconds when it is used up).

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": "rmv_find_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe name of the stop, or a part of it, like `Frankfurt Hauptbahnhof` or `Hauptwache`.
nearNoPrefer stops near this place, as `LAT,LON` like `50.11,8.68`.
countNoThe most stops, up to 20. Default 10.

Output Schema

NameRequiredDescriptionDefault
queryYes
stopsYes
warningsYes
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses quota consumption, rate-limit behavior with `retry_after_seconds`, and the `ambiguous_stop` response path. These are important operational details not covered by the read-only and idempotent annotations.

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 dense and front-loaded, with no wasted filler. It is slightly overpacked and repeats return-field details that the output schema already provides, but it remains efficient overall.

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?

Given the annotations, complete input schema, and existing output schema, the description covers purpose, alternatives, ambiguity handling, quota behavior, and return content. An agent has enough information to select and invoke the tool correctly.

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%, so the schema already explains `name`, `near`, and `count`. The description adds only light semantic reinforcement: `near` ranks nearby stops first, and `count` defaults to 10 with a maximum of 20.

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: searching stops by full or partial name in the RMV area. It also names the returned fields and clarifies the special ranking behavior of `near`, so the tool is easily distinguished from siblings.

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 to use this tool to get a stop ID or when a stop name is ambiguous. It also names `rmv_departures` and `rmv_trip` as alternatives that accept names only for a single matching stop and otherwise return `ambiguous_stop` candidates.

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