Skip to main content
Glama

Book an area

book_area

Book an area (a court, pitch or room) for the signed-in person. Take the area’s id and one free time’s start and end - a find_availability offer, or a get_club freeTimes entry - unchanged, and only after the person has agreed to that club, area, time and price. It books exactly as 1club.me does: a membership of theirs that covers it is used, otherwise it is paid at the club. The answer gives the booking’s status and how it is covered, as created. A club that requires paying online when booking cannot be booked this way: the error says so.

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": {
      "areaId": "<areaId>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "book_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesThe free time’s `end`.
startYesThe free time’s `start`.
areaIdYesThe offer’s `area.id`, or the free time’s `areaId`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains the payment/coverage behavior (a covering membership is used, otherwise paid at the club), what the response contains ('the booking's status and how it is covered, as created'), and the failure mode for online-payment-only clubs. The annotations only declare mutation and open-world interaction; the description adds the financial consequences, which an agent needs before committing a booking.

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 verb and resource, and every sentence carries information (source, prerequisite, coverage behavior, return content, error mode). It is dense and dash-heavy in the second sentence, which slightly slows parsing, but nothing is redundant.

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?

For a three-parameter mutation with no output schema, it covers the prerequisites, input provenance, side effects, return content and one blocking error condition. An agent has everything needed to decide whether to call it and to interpret the result without further documentation.

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 a constraint the schema cannot express: start/end must be passed unchanged from a specific free-time offer or freeTimes entry, and areaId comes from the offer's area.id or free time's areaId. That provenance rule materially changes how an agent should source values, though it does not add format or edge-case detail beyond that.

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 ('Book an area') and immediately defines what an area is ('a court, pitch or room') for the signed-in person. The scoping to areas distinguishes it implicitly but clearly from the sibling booking tools for classes and instructors, since the resource itself is different.

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 names the sources of valid input ('a find_availability offer, or a get_club freeTimes entry') and the prerequisite that the person must have agreed to club, area, time and price. It also states an exclusion: clubs requiring online payment when booking cannot be booked this way. That is when-to-use, where-input-comes-from, and when-not, all present.

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