Skip to main content
Glama
carris-metropolitana-mcp

carris-metropolitana-mcp

vehicle_positions

Get live GPS positions of buses on a Carris Metropolitana line, including heading, speed, current/next stop, and fix age. Use to locate a specific bus or count active vehicles.

Instructions

Live GPS positions of the buses currently running on a Carris Metropolitana line.

Use for "where is the 3508 right now?" or to see how many buses are out on a line. Each vehicle includes its position, heading, speed, the stop it is at / heading to, and how many seconds old the fix is.

Args: line_id: 4-digit line number, e.g. "3508".

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

Input Schema

NameRequiredDescriptionDefault
line_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the returned fields (position, heading, speed, current/next stop) and, importantly, that each fix includes its age in seconds. It does not mention authentication or rate limits, but for a read-only live-data lookup the behavioral disclosure is solid.

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?

The description is front-loaded with the core purpose, followed by usage examples and a clean Args section. Every sentence adds information, including the freshness indicator, 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?

For a one-parameter read tool with an output schema already present, the description is complete: it explains what the tool does, when to use it, the parameter format, and the shape of returned vehicle data. Nothing needed to invoke it correctly is missing.

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 description coverage is 0%, so the description must compensate. It does: line_id is documented as a 4-digit line number with the concrete example '3508', which is enough to call the single parameter correctly. It could add minor notes about formatting or route variants, but the essential semantics are covered.

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: live GPS positions of buses currently running on a Carris Metropolitana line. It is inherently distinguishable from siblings such as next_arrivals, line_info, and find_stops because it returns vehicle-level positions rather than schedules or stop data.

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

Usage Guidelines4/5

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

It gives clear usage contexts with examples: 'where is the 3508 right now?' or seeing how many buses are out on a line. It does not explicitly name alternatives or when-not-to-use conditions, but the intended scenarios are clear.

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