Skip to main content
Glama

Look up a station

lookup_station
Read-onlyIdempotent

Find an Amtrak station by code or name and get its code, city, facilities, aliases, coordinates, and time zone; ambiguous names return candidate matches.

Instructions

Look up an Amtrak station by code (BOS, PVD, KIN, NYP) or by name. Returns code, name, city, facility, aliases, coordinates, and time zone when a live train has named the zone. An ambiguous name returns the candidates.

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

Input Schema

NameRequiredDescriptionDefault
queryYesStation code or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. Beyond that, the description discloses the return field set and two genuinely useful behaviors: ambiguous names yield candidate matches instead of failing, and the time zone is only present when a live train has named the zone. That last quirk in particular would be hard to infer otherwise.

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?

Three tight sentences, front-loaded with the core action and input formats, then the return contract, then the ambiguity edge case. No filler or redundancy.

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, the description correctly compensates by enumerating the returned fields, and annotations cover the safety profile. The remaining gaps are minor: error behavior for an unrecognized code/name isn't stated, and terms like "facility" and "aliases" are left undefined.

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?

There is a single parameter with full schema description coverage ("Station code or name"), so the schema already does the heavy lifting and the baseline is 3. The description adds real value by supplying concrete code examples and confirming that both code and name forms are accepted, but it stops short of noting case sensitivity, partial-name matching, or format expectations.

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?

The description opens with a specific verb and resource ("Look up an Amtrak station") and immediately gives accepted input forms with concrete code examples (BOS, PVD, KIN, NYP). It also enumerates what the lookup returns, so the agent knows exactly what data it gets. It does not explicitly contrast itself with siblings like get_station_board or lookup_route, though the station-identity scope makes it informally distinguishable.

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

Usage Guidelines3/5

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

The guidance is about input form (code vs. name) rather than when to choose this tool over get_station_board or lookup_route. The note that ambiguous names return candidates implies a disambiguation workflow but doesn't say what to do with those candidates. Usage context is implied rather than stated.

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