Skip to main content
Glama

obilet_journey_detail

Fetch full details for a single bus journey by journey_id from search results, including operator, bus type, seats, stations, times, duration, price, service fee, rating, and stops.

Instructions

Full detail of one bus journey: partner, bus type, seats, origin/destination stations, departure/arrival, duration, internet price and original price in TRY, service fee, partner rating, bus name, platform (peron), description and every stop with its time. journey_id: from obilet_search_bus_journeys.

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": {
      "journey_id": "<journey_id>"
    },
    "name": "obilet_journey_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
journey_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it implies a read-only lookup and discloses that prices are quoted in TRY with a separate service fee and original price, which is genuinely useful. It never states whether availability/prices are live, whether results are cached, or any auth or rate-limit behavior, so an agent cannot fully predict the call's side effects.

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?

Front-loaded with the one-line purpose, then a dense field inventory, with the id provenance moved to the end where it belongs. The field enumeration borders on redundant since an output schema exists, and the run-on list is slightly hard to scan, but there is little 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 single-parameter lookup with an output schema present, this is largely sufficient: it explains the input's origin and signals the breadth of the return payload. The remaining gap is failure behavior for an invalid or expired journey_id, which the description does not address.

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 coverage is 0%, so the description must compensate; it does the most important thing by telling the agent where the opaque journey_id originates (obilet_search_bus_journeys). It does not add the integer type or say whether the id is stable across dates, but provenance is the key semantic gap and it is covered.

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?

States a specific verb and resource: 'Full detail of one bus journey', then enumerates exactly what comes back (partner, stations, times, prices in TRY, stops). This clearly separates it from the list-oriented obilet_search_bus_journeys, though it never names that sibling as the alternative.

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 clause 'journey_id: from obilet_search_bus_journeys' does convey the required prerequisite (search first, then fetch detail), which is real usage guidance. However, there is no explicit when-to-use vs when-not, and no statement about what to do if the journey is no longer bookable.

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