Skip to main content
Glama

Check availability

check_availability
Read-onlyIdempotent

Re-confirms one offering before committing. Availability is withheld when the shop is listed or the data is stale.

Input Schema

NameRequiredDescriptionDefault
offering_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: availability may be withheld when the shop is listed or when data is stale — a non-obvious conditional outcome an agent could not infer from the schema or annotations.

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?

Two short sentences with zero filler, and the decision-relevant constraint (use before committing) is front-loaded ahead of the caveat.

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?

No output schema exists, so the description owns the return contract, and 'availability is withheld' is left ambiguous — null, empty field, false, or an error is unspecified. For a single-parameter read tool the coverage is close to adequate but leaves the primary result shape undefined.

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?

There is one required parameter at 0% schema description coverage, so the description carries the full burden — but it says nothing about offering_id (where to obtain it, whether it comes from search_local_offerings, or what an invalid id does). The name is self-explanatory, which keeps this above 1, but no compensating information is supplied.

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 action (re-confirms availability) on a specific resource (one offering) and frames it as a pre-commitment gate, which distinguishes it from the search/prepare/confirm siblings conceptually. It never names an alternative tool, so differentiation requires inference.

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?

'before committing' implies the call belongs between prepare_booking/search_local_offerings and confirm_booking, but no sibling is named and no explicit when-not condition is given. The second sentence describes response behavior, not invocation guidance.

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.

Resources