Skip to main content
Glama

Search availability rules

bookings_availability_rules_search
Read-onlyIdempotent

Search the active group’s availability-rule definitions, including which rule is the default. Archived rules are hidden unless archived or includeArchived is requested. These are reusable availability rules, not session bookings; the rule detail tool gives its full schedule. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.

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": {
      "page": "<page>",
      "limit": "<limit>"
    },
    "name": "bookings_availability_rules_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sNoSearch text that narrows the availability rules.
pageYesPage number; the first page is 1, up to 1000.
sortNoSort order. One of: recent, oldest.
limitYesRules per page, 1 to 20.
archivedNoWhen true, archived rules are shown; without it or includeArchived they are hidden.
includeArchivedNoWhen true, archived rules are included; without it or archived they are hidden.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / archived / description
      Added value: +"When true, archived rules are shown; without it or includeArchived they are hidden."
    • addedInput schema / properties / includeArchived / description
      Added value: +"When true, archived rules are included; without it or archived they are hidden."
    • addedInput schema / properties / limit / description
      Added value: +"Rules per page, 1 to 20."
    • addedInput schema / properties / page / description
      Added value: +"Page number; the first page is 1, up to 1000."
    • addedInput schema / properties / s / description
      Added value: +"Search text that narrows the availability rules."
    • addedInput schema / properties / sort / description
      Added value: +"Sort order. One of: recent, oldest."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive, closed-world profile, and the description adds genuinely new behavior: archived rules are excluded by default, the default rule is surfaced, and the call is restricted to a specific group as Admin. The warning that returned customer strings are business-entered data is useful injection-risk context not present in any structured field.

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?

Four sentences, each load-bearing, with the resource scope front-loaded before exclusions and access conditions. The group restriction sentence is dense with an ID and role but is necessary operational detail rather than 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?

No output schema exists, and the description compensates by saying what is returned (rule definitions plus which is the default). Combined with the archived-visibility rule and the group/admin precondition, an agent has everything needed to decide and call correctly.

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 every parameter is already documented in the schema, including the archived/includeArchived OR relationship. The description restates that hiding behavior rather than adding new meaning about search syntax, sort interaction, or pagination limits. Baseline 3 is appropriate when the schema carries the parameter detail.

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 (search availability-rule definitions) and adds scope detail a sibling would not have: it reports which rule is the default. It also explicitly draws the boundary against session bookings and routes full-schedule needs to the rule detail tool.

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?

Gives clear selection context: use this for reusable availability rules rather than session bookings, and use the rule detail tool for a full schedule. It also states the default hiding of archived rules, which affects when the tool is appropriate. It stops short of naming a specific sibling such as bookings_session_availability as the alternative.

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