Skip to main content
Glama

Station info

info_estacao
Read-onlyIdempotent

Retrieve full details for a Portuguese train station by code or name, including lines served, address, step-free access, ticket office, WC, parking and metro connections.

Instructions

Details for one station: line, address, step-free access and facilities (ticket office, WC, parking, metro, ...).

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

Input Schema

NameRequiredDescriptionDefault
stationYesStation code (94-xxxx) or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value by disclosing the return-value categories (line, address, step-free access, facilities), which matters because there is no output schema. It stops short of noting failure behavior for unknown stations or data freshness.

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?

One front-loaded sentence with the resource first and the returned fields listed after the colon. The trailing ellipsis in the facilities list is slightly loose but signals the list is non-exhaustive rather than padding. No wasted wording.

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?

For a simple one-parameter read-only lookup with no output schema, the description covers the essentials by enumerating returned fields. Missing only error/not-found behavior, which is minor at this complexity level.

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 coverage is 100%: the single 'station' parameter is fully documented as accepting a station code (94-xxxx) or name. The description adds little beyond restating the single-station scope and does not clarify code-vs-name precedence or case sensitivity. Baseline 3 applies when the schema carries the parameter semantics.

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 names a specific resource (one station) and enumerates what it returns: line, address, step-free access, facilities. It contrasts implicitly with the sibling 'procurar_estacao' by scoping to a single station rather than a search, though it never names an alternative. An agent can tell what it does without opening the schema.

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?

The description offers no explicit when-to-use or when-not-to-use guidance; the only signal is the phrase 'for one station'. It never tells the agent to resolve a station via 'procurar_estacao' first, nor what to do when a station is not found. Usage must be inferred entirely.

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