Skip to main content
Glama

Event sessions

tw_sessions
Read-onlyIdempotent

Retrieve an event's show times with dates, seat availability, and ticket prices in Toman by event slug. Use it to check remaining sessions and pricing before planning a booking.

Instructions

List the show times (sessions) of an event with date, time, seat status and ticket price in Toman.

Reads the public sale page's session list only; it never opens seat maps or reserves anything. date is Gregorian, date_jalali as the site has it, seats is the site's own wording (e.g. "مانده دارد" = seats remain).

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": {
      "slug": "<slug>"
    },
    "name": "tw_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesEvent slug from tw_events/tw_search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context: it reads only the public sale page and never touches seat maps. However, it does not mention rate limits, pagination, failure modes, or what happens for sold-out events, so it adds moderate rather than rich depth.

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?

Front-loaded with the core purpose in the first sentence, followed by two tight sentences covering scope limits and the localized meaning of returned fields. No filler, and the domain-specific caveats (Gregorian vs Jalali date, Persian seat wording) are packed with information.

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, read-only list tool with no output schema, the description is nearly sufficient: it explains what comes back and how to interpret the localized fields, which is the main ambiguity risk. It lacks only minor operational detail such as ordering, empty results, or how availability statuses other than 'seats remain' should be read.

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?

With one parameter and 100% schema coverage, the schema already documents 'slug' including its provenance. The description does not supplement the parameter with format, validation, or example values; the field-semantics sentences describe return values rather than input parameters, so baseline 3 is appropriate.

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 ('List the show times (sessions) of an event') and even enumerates the fields returned: date, time, seat status, ticket price in Toman. It is clearly distinguishable from the sibling event/category/venue tools, though it never names an explicit alternative for comparison.

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?

Usage context is implied through the schema-adjacent note that the slug comes from tw_events/tw_search, and scope exclusions are explicit ('never opens seat maps or reserves anything'). It stops short of an explicit when-to-use-this-vs-another-tool statement, but does set a clear boundary that prevents the agent from expecting booking capabilities.

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