Skip to main content
Glama

confirm_event

DestructiveIdempotent

Convert a held event into a confirmed booking when its status is active and the hold expiry has not passed.

Instructions

Promote a held event to a confirmed booking. The event must currently have status="hold" and its hold_expires_at must not have passed. After confirmation, event.started and event.ended lifecycle webhooks fire at the scheduled times.

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>"
    },
    "name": "confirm_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent ID of the hold to confirm

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / event_id / maxLength
      Added value: +128
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • addedInput schema / properties / event_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. First observedv1.2.5

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, idempotent and closed-world, and the description adds real behavior beyond them: the required prior state, the expiry constraint, and the downstream side effect that event.started and event.ended webhooks fire at scheduled times. It does not say what the hold is consumed into or what error surfaces on an expired hold, keeping it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: action, precondition, side effect — in that order. Every sentence carries information an agent needs and nothing is repeated from the schema or annotations.

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 one-parameter mutation with no output schema and full annotation coverage, the description supplies the state machine and lifecycle consequences an agent would otherwise have to guess. Only failure-mode detail (behavior when the hold has expired) is missing.

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 the single parameter is fully documented as the event ID of the hold. The description adds only the indirect clarification that the ID must reference a held (not yet expired) event, which is marginal beyond the schema.

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?

The description opens with a specific verb and state transition: 'Promote a held event to a confirmed booking.' That names the resource (a held event) and the outcome (a confirmed booking), which is enough to separate it from siblings like release_event or cancel_event that also operate on holds.

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?

It gives explicit preconditions for use — status must be "hold" and hold_expires_at must not have passed — which tells an agent when the call is valid. It stops short of naming alternatives or stating what to do instead when the hold has expired (release vs. re-create), so no exclusions are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.