Skip to main content
Glama

Расписание сеансов

cinema_schedule
Read-onlyIdempotent

Retrieve movie showtimes for a specific date, theater, film, or city; filter by time window and get session IDs needed to check seats or book tickets.

Instructions

Сеансы кино на дату. date — YYYY-MM-DD.

limit — сколько площадок/фильмов показать, 0 = все (по умолчанию 20). Городской режим (event_id+city, без cinema/around) может вернуть сотни кинотеатров разом — сузь cinema/around или подними limit, если нужно больше показанных по умолчанию 20.

Три режима:

  • object_id БЕЗ event_id — ВЕСЬ репертуар кинотеатра на день, один запрос. Так и надо отвечать на «что идёт завтра в этом кинотеатре»: перебирать афишу города по фильму и дорого, и неполно — сегодняшний список не знает о фильме, который идёт только завтра.

  • event_id + object_id — один фильм в одном кинотеатре.

  • event_id + city — этот фильм по всему городу, с сортировкой по расстоянию.

objectId кинотеатра берётся из afisha_places() или из search_app(). cinema — подстрока названия кинотеатра ("каро 11"), around — время "17:00", window_min — допуск в минутах вокруг него. city — обязателен, ЕСЛИ не задан object_id, и передаётся именем (этот эндпоинт берёт название, а не числовой cityId). Он же задаёт точку, от которой считается расстояние до кинотеатров, поэтому передавай тот же город, что и в cinema_search(): расписание Петербурга, отсортированное от центра Москвы, выглядит правдоподобно и бессмысленно. С object_id город не нужен — площадка его уже задаёт. Отдаёт objectId площадки и slotId каждого сеанса — оба нужны для cinema_seats() и cinema_book(), поодиночке бесполезны.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cinema_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
dateNo
limitNo
aroundNo
cinemaNo
event_idNo
object_idNo
window_minNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavioral context: the default cap of 20 results, the fact that city mode can flood the response with hundreds of theaters, and that city sets the distance origin so it must match the cinema_search city. It stops short of describing pagination or failure modes, which keeps it below a 5.

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 structured as a parameter note plus a three-bullet mode list, which matches how an agent must choose a call. It runs long, and the St. Petersburg/Moscow distance anecdote is illustrative rather than essential, but almost every clause carries decision-relevant information.

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?

An output schema exists, so return values need no explanation, yet the description still notes that objectId and slotId come back and are jointly needed for cinema_seats/cinema_book. Combined with the mode rules, the conditional city requirement, and the limit caveat, an agent has everything required to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage across 8 parameters, the description carries the full burden and does so: date format YYYY-MM-DD, limit 0=all/default 20, cinema as a name substring with an example, around as '17:00', window_min as minute tolerance, city being a name rather than a cityId and conditionally required. Only event_id's origin is left implicit, a minor gap in an otherwise complete mapping.

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?

Opens with a specific verb+resource ('Сеансы кино на дату') and then enumerates the three call modes, making clear it returns showtimes rather than seats (cinema_seats) or bookings (cinema_book). The agent can distinguish it from all named siblings without opening their schemas.

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

Usage Guidelines5/5

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

Explicitly routes: object_id alone answers 'what's on tomorrow at this cinema' and it explains why iterating the city listing per film is both expensive and incomplete. It also names cinema_search as the companion for city selection and warns that city mode can return hundreds of venues, telling the agent to narrow or raise limit.

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