Skip to main content
Glama

Bafan

Book reservation

book_reservation
Destructive

Book an offered date after the user confirms the date, terms and answers.

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": {
      "event_id": "<event_id>",
      "confirm": "<confirm>"
    },
    "name": "book_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersNo
confirmYes
event_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readOnly, destructive, non-idempotent, closed-world mutation. The description adds a genuinely useful precondition — explicit user confirmation of terms before booking — which annotations cannot convey. It does not disclose what is created, whether the booking can be undone via cancel_reservation, or what errors block 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?

A single front-loaded sentence with no filler. It is efficient, though the compression contributes to the ambiguity about what exactly is being booked and against which parameter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive, non-idempotent mutation with no output schema and three parameters at 0% schema coverage. The description covers the confirmation gate but omits what a successful booking produces, how event_id relates to an offer, and how to structure answers — substantial gaps for a consequential write.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema coverage is 0%, so the description must carry parameter meaning. It only loosely mentions "answers" and the confirmation; event_id is never explained, and the answers array structure (question_id plus either answer_id or a value string, up to 40 items) is not described at all, leaving required inputs ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Book an offered date" gives a specific verb and resource, and the pairing with list_reservation_offers/cancel_reservation makes the booking action distinguishable. The phrasing "offered date" is imprecise about whether the target is a reservation offer or a calendar event, which the event_id parameter makes ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a precondition ("after the user confirms the date, terms and answers"), which implies when to call it. It does not say where the offer comes from (e.g., list_reservation_offers) or what to do if the user has not yet seen terms, so the routing guidance is only implied.

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