Skip to main content
Glama

hairdora

Get salon availability

get_salon_availability
Read-onlyIdempotent

Summarize bookable availability for one owned salon. The API fixes the window at tomorrow through 14 days out. Returns one safe summary per day: date, slot count, first slot, and last slot; it never exposes who occupies unavailable times. The tool proves tenant ownership before calling the otherwise-public booking route and fails closed for another organization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
salonIdYesSalon id returned by list_salons (24 lowercase hex characters)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds valuable behavioral context: it returns a safe summary never exposing who occupies unavailable times, proves tenant ownership, and fails closed for other organizations. This goes well beyond the 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?

Three tightly scoped sentences: purpose first, then the fixed window and return summary, then the safety/ownership guarantee. Every sentence earns its place with zero filler.

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

Completeness5/5

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

The output schema covers return values, and the description covers the window, the summary contents, and the privacy/ownership guarantees. For a single-parameter read-only tool, nothing an agent needs to call it correctly is missing.

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?

The single parameter salonId is fully documented in the schema (pattern, description, and reference to list_salons). The description adds no additional meaning 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb and resource: 'Summarize bookable availability for one owned salon.' It also differentiates from siblings by specifying the single-salon scope and the fixed time window, so an agent can clearly tell it apart from the other get_/list_ tools.

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?

The description provides clear context for when to use it — for one owned salon, with a fixed window — and explicitly states the ownership check and fail-closed behavior. However, it does not explicitly name alternative tools or state when not to use it, leaving that to inference from the sibling list.

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