Skip to main content
Glama

End or clear a booking session

checkfront_end_booking_session
Destructive

Abandon a booking session: 'clear' empties its items, 'end' closes it. Releases the inventory it was holding; no booking is affected. Checkfront: POST /api/3.0/booking/session/clear or /booking/session/end.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNo'end' (default) closes the session; 'clear' empties it.
session_idYesThe session to clear or end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The destructiveHint annotation marks this as destructive, and the description usefully qualifies that destructiveness: it 'releases the inventory it was holding' while 'no booking is affected'. That is real added context beyond the annotation, though it omits prerequisites such as auth scopes or whether the session_id must be currently active.

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?

Two tight sentences, with the core action and the clear/end distinction front-loaded before the supporting side-effect note. The trailing API endpoint reference is extra detail that earns only marginal value for an agent caller.

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

Completeness4/5

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

For a two-parameter mutation with no output schema and light annotations, the description covers purpose, action semantics, and the key side effect (inventory release, bookings untouched). It is largely complete, missing only what the call returns or any authorization requirements.

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% and both parameters (session_id, action enum) are already documented in the schema, so the baseline is 3. The description only restates the enum semantics ('clear' empties, 'end' closes) without adding format, default, or edge-case detail beyond the schema.

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?

The description gives a specific verb+resource ('Abandon a booking session') and disambiguates the two supported actions, 'clear' vs 'end'. It implicitly separates itself from siblings like add_to_booking_session and get_booking_session by stating 'no booking is affected', but it never names an alternative tool explicitly, so it stops short of a 5.

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?

Usage is only implied via 'Abandon a booking session' plus the meaning of each action; there is no explicit guidance on when to clear vs end, or when abandoning is preferable to an alternative tool. Adequate but leaves the agent to infer the scenario.

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.