Skip to main content
Glama

getAvailabilityByMonth

Read-only

Get all available booking windows in a specific month that meet the minimum length of stay requirement. Returns all possible check-in dates and their corresponding available periods.

Input Schema

NameRequiredDescriptionDefault
yearYesYear (e.g., 2026)
monthYesMonth number (1-12, where 1=January, 12=December)
stayIdYesThe unique identifier of the stay
minLengthOfStayYesMinimum length of stay in days required

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful return-shape context ('all possible check-in dates and their corresponding available periods'), but says nothing about pagination, date formats, or behavior when no windows qualify.

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?

Two sentences, front-loaded with the core purpose and followed by the return shape; no filler. The second sentence is slightly redundant with the first but still earns its place by clarifying output.

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 four-parameter read tool with full schema coverage and safety annotations, the description covers purpose and rough output but omits sibling routing, error/empty-result behavior, and any date-format expectations. It is adequate but leaves clear gaps for an agent choosing among the many availability tools.

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 each of the four required parameters (year, month, stayId, minLengthOfStay) is documented in the schema with examples and ranges. The description only alludes to minLengthOfStay and month, adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb (Get), resource (available booking windows), and scope (a specific month filtered by minimum length of stay), which is concrete and actionable. It does not, however, distinguish itself from close siblings such as getRoomAvailability, checkStayAvailability, hasAvailabilityInWindow, or findNearestAvailability.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives, despite several overlapping availability siblings (checkStayAvailability, hasAvailabilityInWindow, findNearestAvailability, getRoomAvailability). The 'minimum length of stay' constraint is the only implicit selection signal.

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.