Skip to main content
Glama

check_seat_availability

Retrieve official 14-day continuous seat availability forecasts across travel classes and quotas for a train route and journey date, helping users check booking options.

Instructions

Fetch official 14-day continuous seat availability calendar forecast across travel classes (1A, 2A, 3A, 3E, SL) and quotas (GN, TQ, PT, LD) directly from PRS.

Input Schema

NameRequiredDescriptionDefault
toYesDestination station code (e.g. "ANVT").
dateYesJourney date in DD-MM-YYYY format (e.g. "17-11-2026").
fromYesOrigin station code (e.g. "NKE").
quotaNoBooking quota code ("GN" for General, "TQ" for Tatkal, "PT" for Premium Tatkal). Defaults to "GN".GN
train_noYesThe 5-digit train number (e.g. "12557").
class_codeNoTravel class code (e.g. "3A", "2A", "1A", "SL"). Defaults to "3A".3A

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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 usefully discloses the upstream source (PRS) and that the output is a 14-day continuous calendar rather than a single-date snapshot. It does not clarify whether the required 'date' parameter anchors the start of the window, nor does it mention permissions, rate limits, or data freshness.

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 dense sentence, front-loaded with the verb and the key scoping facts (14-day continuous, PRS, classes, quotas). No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, no-annotation, no-output-schema tool, the description covers source and window but leaves the response shape and the multi-date/date-parameter relationship unexplained. Adequate but with notable gaps for a forecasting tool.

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 100%, so baseline is 3; the description still adds value by enumerating class codes including 3E and quota codes including LD, which the schema examples omit. It does not resolve how 'date' interacts with the 14-day window, which is the main semantic gap.

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?

Names a specific verb and resource ('Fetch ... seat availability calendar forecast') plus a precise scope (14-day continuous, across travel classes and quotas, from PRS). This clearly separates it from siblings like search_trains or get_vacant_berths_post_chart, which concern different data.

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 '14-day continuous ... calendar' framing and 'official ... from PRS' hint at when this is the right tool (pre-booking, multi-date forecast) versus post-chart vacancy, but no sibling is named and no when-not/exclusion is stated. Usage is inferable rather than specified.

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