Skip to main content
Glama

booksy_treatments

Read-only

Discover Booksy treatment ids for one top-level category and return the treatments the app lists for it (integer id, name, slug), in the marketplace's own ranking order. This is the category-scoped discovery step for the treatment parameter of booksy_businesses: take a category id from booksy_categories, pick a treatment id from this list, then pass both to booksy_businesses to filter a listing (category 6 with treatment 363 is the Male Haircut subset of Barber). Omitting category returns the upstream's unscoped popular list, which mixes categories. limit is 1 to 40, the upstream's own cap. The route has no page or offset parameter, so a category that publishes more than the limit cannot be read past it: truncated=true means the upstream returned exactly the limit, which is the only signal that more may exist (Hair and Health and fitness both sit at 40). An empty list or an unknown category id is an honest empty answer rather than an error. Use booksy_treatment_hints for free-text discovery.

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": "booksy_treatments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoTreatments to return, 1 to 40; defaults to 40, which is the upstream's own cap. Values above 40 are rejected because the upstream refuses them.
countryNoOptional Booksy market, one of: ar, au, br, ca, cl, co, de, es, fr, gb, ie, it, mx, nl, pl, pt, us, za. Defaults to us. These are the only country hosts that serve this API.
categoryNoOptional top-level category id from booksy_categories, for example 6 for Barber. It must be an INTEGER id. Omitting it returns the upstream's unscoped popular list, which mixes categories. An id outside the 18-value enum answers an empty list rather than an error.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), and the description goes well beyond them: it discloses the absence of paging, the 40-item upstream cap, and the truncated=true signal as the only hint that more data exists. It also states that an unknown category id or empty result is an honest empty answer rather than an error, which is exactly the kind of non-obvious behavior an agent needs. It stops short of describing rate limits or the idempotentHint=false nuance.

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 purpose, then chained usage, then caveats in a logical order. It is dense with useful facts, though the parenthetical example and the repeated mention of the 40 cap could be trimmed without losing meaning.

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?

An output schema exists, yet the description still names the returned fields, and it covers the two things an output schema cannot express: the unpaginated route's truncation caveat and the empty-vs-error semantics. For a cross-tool discovery step, nothing needed 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.

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns a notch more by tying category to its source (booksy_categories) and giving a concrete mapping example (category 6 + treatment 363 = Male Haircut under Barber) that clarifies the two-parameter relationship. limit and country add little beyond what the schema already documents.

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 ('Discover Booksy treatment ids for one top-level category') plus the exact return shape (integer id, name, slug) and ordering. It also names the sibling it is not (booksy_treatment_hints) and the downstream consumer (booksy_businesses), so an agent can separate it from neighbours without opening a 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?

Gives an explicit call chain: take a category id from booksy_categories, pick a treatment id here, pass both to booksy_businesses. It states when to use the alternative ('Use booksy_treatment_hints for free-text discovery') and covers the omitted-category case, so there is no ambiguity about routing.

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.