Skip to main content
Glama
galkremer1
by galkremer1

check_availability

Find the first available slot of a specified duration for a lab resource by fetching its full reservation list and computing free gaps.

Instructions

Fetch the full reservation list for one ReservationItem (paginated correctly) and compute free gaps / the first slot of duration_minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
earliest_startNoISO-8601 earliest start
duration_minutesNo
reservation_item_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It does reveal that the tool fetches the full list, handles pagination correctly, and computes free gaps/first slot. However, it omits edge cases such as no availability, how optional parameters affect the result, and the exact behavior of the return value.

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?

The description is a single sentence with no filler. It front-loads the core action and includes a valuable non-obvious detail ('paginated correctly') without adding unnecessary length.

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 tool with no annotations and no output schema, the description covers the main intent and the role of duration_minutes, but it omits the role of earliest_start, return format, and behavior when no availability exists. These are meaningful gaps that could lead an agent to call it incorrectly or misinterpret results.

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

Parameters2/5

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

Schema description coverage is only 33%, leaving duration_minutes and reservation_item_id undescribed. The description adds meaning by linking duration_minutes to slot length and reservation_item_id to the target item, but it does not clarify earliest_start, optionality, or input format expectations, so it only partially compensates for the schema 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?

The description states a specific action ('Fetch the full reservation list ... and compute free gaps / the first slot') on a specific resource ('one ReservationItem'). This clearly distinguishes it from siblings like list_reservable_items and find_available_cluster, whose purposes are different.

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 usage context is only implied rather than explicit: if you need availability slots for one reservation item, this is the tool. No alternatives are mentioned, and there is no guidance about when not to use it or which sibling might be more appropriate for similar queries.

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