Skip to main content
Glama

Cancel a live event

cancel_live_event
DestructiveIdempotent

Delete a scheduled event. If it is running, it ends in running rooms within ~15 seconds (its config overrides drop away; server logic gets onLiveOps with it in change.ended). To end it early but keep it listed, schedule the same id again with endsAt set to the current time.

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": {
      "id": "<id>"
    },
    "name": "cancel_live_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe event id (see get_live_ops).
gameNoWhich game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds real behavior beyond the annotations: running events terminate in rooms within ~15 seconds, config overrides are dropped, and server logic receives onLiveOps with change.ended. This is exactly the kind of side-effect disclosure a destructive operation needs, and it is consistent with destructiveHint=true and idempotentHint=true.

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 sentences, front-loaded with the action, then the running-case behavior, then the alternative. Nothing is padded; the domain jargon (onLiveOps, change.ended) carries information rather than noise.

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 destructive tool with full schema coverage, no output schema and clear annotations, the description covers the critical unknowns: timing and side effects. Minor gaps remain around whether deleting a non-existent or already-ended event errors, but nothing essential to a correct call 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 coverage is 100%, with both 'id' and 'game' documented in the schema, so the baseline applies. The description only refers obliquely to 'the same id' and adds no format or resolution detail beyond what the schema already provides.

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+resource ('Delete a scheduled event') and immediately qualifies it for the running case, so an agent knows exactly what is being removed. It is distinguishable from the sibling schedule_live_event without opening either schema.

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?

Gives a concrete alternative path for a related-but-different intent: 'To end it early but keep it listed, schedule the same id again with endsAt set to the current time.' It doesn't cover prerequisites (permissions) or the case where the event doesn't exist, but the main when-vs-alternative decision is explicit.

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.