Skip to main content
Glama

Cancel a session (organizers only)

event_session_cancel
DestructiveIdempotent

Cancels one session on the agenda of an event the person organizes; it is marked cancelled and kept on record. Quiet unless notify is true. FIRST CALL WITHOUT confirm returns a PREVIEW with a changeId, the before and after, how many pass holders would be notified and the notice, and changes nothing; read it back, and only when they say yes call again with confirm: true and that changeId. Name the session by sessionId or title; on AMBIGUOUS or NO_SUCH_SESSION read the candidates back and ask. Only the organizer of the event can change it; anybody else is refused, read out as given. It requires a personal connector token.

Input Schema

NameRequiredDescriptionDefault
atNoOptional current start ("10:30 AM"), for sessions sharing a title.
notifyNoOptional; true notifies pass holders.
confirmNoLeave out for the preview; after the organizer says yes, true with the changeId.
changeIdNoThe changeId the preview returned.
sessionIdNoThe session id as the agenda gave it.
sessionTitleNoOr the session title, when there is no sessionId.
eventIdOrNameYesThe event id or name as the organizer spells it.

Output Schema

NameRequiredDescriptionDefault
okNo
kindNo
errorNo
appliedNo
changesNo
messageNo
previewNo
sessionNo
changeIdNo
servedByNo
candidatesNo
lockScreenNo
passUpdateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / at / description
      Previous value: -"OPTIONAL. The session's current start (\"10:30 AM\"), which distinguishes sessions that share a title."New value: +"Optional current start (\"10:30 AM\"), for sessions sharing a title."
    • changedInput schema / properties / changeId / description
      Previous value: -"REQUIRED with confirm: the changeId the preview returned."New value: +"The changeId the preview returned."
    • changedInput schema / properties / confirm / description
      Previous value: -"Leave out for the PREVIEW. Only after the organizer says yes to the preview, call again with confirm: true and the changeId."New value: +"Leave out for the preview; after the organizer says yes, true with the changeId."
    • changedInput schema / properties / eventIdOrName / description
      Previous value: -"REQUIRED. The event id or the event name as the organizer spells it."New value: +"The event id or name as the organizer spells it."
    • changedInput schema / properties / notify / description
      Previous value: -"OPTIONAL. Quiet by default; true notifies pass holders of the change."New value: +"Optional; true notifies pass holders."
    • changedInput schema / properties / sessionId / description
      Previous value: -"The session's id exactly as the agenda or a candidates list gave it."New value: +"The session id as the agenda gave it."
    • changedInput schema / properties / sessionTitle / description
      Previous value: -"Or the session's title as the agenda spells it, when there is no sessionId."New value: +"Or the session title, when there is no sessionId."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive/non-readonly/idempotent, but the description adds what those hints cannot: the cancellation is soft ("kept on record"), side effects are suppressed unless `notify` is true, the preview enumerates pass holders who would be notified, non-organizers are refused, and a personal connector token is required.

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 the purpose, then ordered by decision sequence (preview → confirm → identify session → permission → auth). It is dense to the point of being a run-on sentence chain, but each clause carries operational information 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?

For a destructive, confirmation-gated mutation this covers everything an agent needs: the confirmation workflow, session identification, permission model, notification behavior, and credential requirement. Return values are partly described even though an output schema already exists, so nothing material is missing.

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 schema already documents each parameter and sets a baseline of 3. The description goes further by explaining the cross-parameter contract — that `changeId` is produced by the preview and must be echoed with `confirm` — and by stating that `sessionId` and title are alternatives that can be disambiguated with time.

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 ("Cancels one session on the agenda of an event") plus the ownership scope ("the person organizes") and the resulting state ("marked cancelled and kept on record"). That last clause cleanly separates it from event_session_move and event_session_rename, which also act on session records.

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?

Gives an explicit two-step protocol: first call without `confirm` to get a preview, read it back to the organizer, then re-call with `confirm: true` and the returned `changeId`. It also covers the ambiguity path ("on AMBIGUOUS or NO_SUCH_SESSION read the candidates back and ask") and the authorization failure path, leaving nothing to inference.

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