Skip to main content
Glama

booksy_treatment_hints

Read-only

Discover Booksy treatment ids for a search text and return the matching treatments (integer id, name, slug, type) alongside the suggested businesses (id, name, slug, web path token, address), with counts per kind. This is the discovery step for the treatment parameter of booksy_businesses and the only treatment-id surface the Booksy app API exposes. It is query-driven, not a taxonomy: query_driven is always true and a treatment id that no query surfaces can still exist, so do not treat the returned set as complete. Seed it with the service you want (haircut, braids, nails, massage). A query that matches nothing returns an empty suggestions array rather than an error; a blank query is rejected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "booksy_treatment_hints"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesRequired search text that seeds the hint lookup, for example haircut, braids or nails. The upstream rejects a blank value. Hints are query-driven: they are not a complete treatment taxonomy.
countryNoOptional Booksy market, one of the 18 country hosts that serve this API. Defaults to us.

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
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing that query_driven is always true, that the returned set is not a complete taxonomy, that a no-match query returns an empty array instead of an error, and that blank queries are rejected. These are exactly the failure-mode and completeness facts an agent needs before relying on the ids.

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-loads what the tool discovers and returns, then the routing rationale, then the caveats about incompleteness and errors. The single dense paragraph earns most of its sentences, though the enumerated return fields partially duplicate the output schema.

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, so return values need no explanation, and the description focuses its effort on the non-obvious semantics: query-driven completeness limits, empty-vs-error behavior, and the downstream parameter it feeds. Nothing an agent needs to invoke or interpret 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, but the description adds real meaning: it frames the query as a seed service term, notes the returned hint set is inherently incomplete, and clarifies that country selects among 18 market hosts. The blank-value rejection duplicates the schema slightly rather than adding to it.

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 a search text") plus the exact return shape (integer id, name, slug, type) and the co-returned business suggestions. It distinguishes itself from the taxonomy-style sibling by declaring it is "query-driven, not a taxonomy," so an agent can pick between them without opening schemas.

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?

Names the downstream consumer explicitly ("the discovery step for the treatment parameter of booksy_businesses") and tells the agent how to seed it (haircut, braids, nails, massage). It stops short of stating when to prefer this over a broader treatment listing or when results should be discarded in favor of a direct lookup.

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.