Skip to main content
Glama

СКСавто (SKS-Auto) — Автобусы из Санкт-Петербурга

Проверка свободных мест в автобусе

check_seat_availability
Read-onlyIdempotent

Возвращает карту свободных мест (номер места, у окна или у прохода, ряд) для конкретного trip_id (из search_bus_trips) на указанную дату.

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": {
      "trip_id": "<trip_id>",
      "date": "<date>"
    },
    "name": "check_seat_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesДата поездки в формате YYYY-MM-DD
trip_idYesID рейса из результата search_bus_trips

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds value the annotations do not: it discloses the shape of the result (seat number, window/aisle, row), which matters because there is no output schema. It stops short of stating whether availability reflects live bookings or a cache, and it doesn't clarify the container type of the "map".

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?

A single well-formed sentence with the resource and scope front-loaded and zero filler. Every clause carries information — verb, return fields, parameter provenance, and temporal scope.

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 two-parameter read-only lookup with full schema coverage and annotations, this is nearly complete, and the description compensates for the missing output schema by listing the returned seat fields. The only residual gap is the exact structure of the returned collection (object keyed by seat vs. array of seats).

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%, and both parameters are documented there, including the YYYY-MM-DD format and the trip_id provenance. The description restates the same facts (trip_id from search_bus_trips, travel date) without adding new syntax, constraints, or edge cases, so the schema does the heavy lifting.

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 names a specific verb and resource ("Возвращает карту свободных мест") and scopes it to a single trip_id and date. It also enumerates the returned seat attributes (seat number, window/aisle, row), so an agent knows exactly what it gets, and it explicitly ties trip_id to search_bus_trips, separating this tool from that sibling.

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 establishes the required two-step flow — obtain trip_id from search_bus_trips first, then call this tool for a given date — which is clear operational context. It gives no explicit when-not-to-use or exclusion (e.g., coach/vehicle-level vs. trip-level lookups), but there is no obvious sibling that competes for the same job.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources