Skip to main content
Glama

WhichAgent Beauty

Get Barbershop Availability Handoff

availability
Read-only

Returns a normalized availability handoff for a source-linked Orange County, CA barbershop, including availability class live, booking-site, or none; it does not guarantee a slot. Use when: the user has selected a barbershop and wants its provider handoff to check a service and, optionally, an appointment date. Do not use when: the user needs a guaranteed live appointment slot or price, beauty services beyond barbershops, results outside Orange County, payment, or a completed booking; availability only returns a class and provider handoff.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceNoOptional published service requested, such as haircut or beard trim.
business_idNoRequired stable business ID returned by search.
appointment_dateNoOptional desired appointment date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag read-only, open-world, non-destructive, so the description's job is to add context — which it does by stating it does not guarantee a slot and returns only a class plus a provider handoff, with no price or booking. It stops short of describing latency, rate limits, or failure behavior when a provider is unreachable.

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?

Front-loaded with the return value, then cleanly separated into use and do-not-use blocks. Slightly verbose with semicolon-chained clauses and some redundancy between 'guaranteed live appointment slot or price' and 'payment,' but no filler sentences.

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

Completeness4/5

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

With no output schema, the description correctly shoulders the burden of explaining the return shape (an availability class plus provider handoff) and its limits. For a three-param read-only lookup this is nearly sufficient, though the exact fields of a 'handoff' remain undefined.

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%, so all three parameters (service, business_id, appointment_date) are already documented, including that business_id comes from search and the date format. The description only restates that service and date are optional; 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?

States a specific verb (returns) and resource (availability handoff) scoped to Orange County barbershops, and names the three possible availability classes. The jargon 'normalized availability handoff' is a bit opaque, but the intent is clear and separable from siblings like book or search.

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

Usage Guidelines5/5

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

Explicit 'Use when' clause covers the selected-barbershop scenario with optional service and date, and an equally explicit 'Do not use when' list excludes guaranteed slots, pricing, non-barbershop services, other regions, payment, and completed bookings. The agent has everything needed to route correctly.

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