Skip to main content
Glama

Search haircuts by constraints

search_haircuts

Base offering lookup by haircut type, length or stylist. Use compare_options for a supported service with budget, extras or date; preserve any unsupported stylist/length/time requirements for merchant confirmation. Find haircut offerings (and optionally stylists and candidate start times) that satisfy ALL given constraints, across profiled salons (hand-normalized menus) and listed salons (type and inclusions inferred from the service name; offering.comparable says whether it can be compared apples-to-apples). Start times are candidate start times from the salon's published staff schedule; existing bookings are not subtracted, so some may already be taken — confirm on the booking page (slotBasis "schedule_candidates", bookingsSubtracted false, availability_basis "schedule_candidates" = UNCONFIRMED). require_availability=true is satisfied only by provider-confirmed availability (the booking provider’s own open times, existing bookings subtracted). No salon on this site has provider-confirmed availability today: profiled salons have candidate start times from the published staff schedule (existing bookings not subtracted, so they may already be taken) and listed salons have published opening hours only. Offerings with matching candidate start times are listed under unconfirmed; confirm on the booking page. Hard constraints are never relaxed silently; when nothing matches, noMatch.reason explains which constraint blocked and nearest suggests the smallest change. Prices are published menu or online-booking prices in USD; this search does not add requested or mandatory extras. Times are salon-local (America/Los_Angeles).

Input Schema

NameRequiredDescriptionDefault
qNo
dateNo
afterNo
limitNo
beforeNo
stylistNo
max_priceNo
specialtyNo
hair_lengthNo
haircut_typeNo
neighborhoodNo
require_availabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses that start times are unconfirmed schedule candidates (slotBasis, bookingsSubtracted false), that no salon currently has provider-confirmed availability, that prices are published menu/booking prices in USD with no extra add-ons, and that times are salon-local. It further explains failure behavior (hard constraints never relaxed; noMatch.reason and nearest).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, but the body is a dense block that repeats the same availability caveat three times ('existing bookings are not subtracted, so some may already be taken', 'confirm on the booking page', availability_basis/slotBasis restated). The content is valuable but could be tightened substantially without losing meaning.

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?

For a 12-parameter, annotation-free tool with no output schema, the description usefully documents the response shape (unconfirmed list, noMatch.reason, nearest, offering.comparable). It falls short only on the undocumented query/limit/specialty/neighborhood parameters, which leaves some invocation decisions to guesswork.

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 0% across 12 parameters, so the description must compensate, and it only partly does: it gives semantics for haircut type, length, stylist, date/time window, budget (max_price) and require_availability, but never explains q, limit, specialty, or neighborhood. The enum values and defaults for those handled fields still come only from the schema.

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?

States a specific verb and resource ('Find haircut offerings ... that satisfy ALL given constraints') and scopes it to profiled vs. listed salons. It also names the sibling it is not ('Use compare_options for a supported service with budget, extras or date'), so an agent can route without opening either schema.

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?

Explicitly routes the comparison-with-extras case to compare_options and tells the agent to 'preserve any unsupported stylist/length/time requirements for merchant confirmation'. It also gives a conditional rule for require_availability=true (satisfied only by provider-confirmed availability), which is exactly the when-to-use guidance an agent needs.

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