Skip to main content
Glama

Cancel Program Registration

cancel_program_registration
Destructive

Cancels one of the caller's own students' program registrations (registration_id from register_for_program). When the program has a waitlist, the backend automatically promotes the next waitlisted registration. Coordinators manage cancellations through the Paxaver panel. DESTRUCTIVE - confirm with the user before cancelling. Collect each required input one at a time and confirm the details with the user before calling.

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": {
      "registration_id": "<registration_id>"
    },
    "name": "cancel_program_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
school_slugNoSchool slug (defaults to the active school)
registration_idYesRegistration ID - from register_for_program; must belong to one of the caller's students

Output Schema

NameRequiredDescriptionDefault
idNoCancelled registration ID
statusNoRegistration status ('cancelled')
promotedNoWaitlisted registration automatically promoted to the freed seat, if any

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description goes beyond them by disclosing the waitlist auto-promotion side effect, which materially changes the blast radius. The 'DESTRUCTIVE - confirm with the user' line largely restates the annotation, and reversibility of a cancellation is never stated.

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?

Purpose and scope are front-loaded in the first sentence, followed by the side effect, the coordinator alternative, and the safety protocol in a sensible order. The 'collect each required input one at a time' instruction is procedural boilerplate that sits slightly awkwardly in a tool description but is not harmful.

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?

With an output schema present and full schema coverage, the description need not explain return values, and it covers ownership, side effects, and confirmation adequately. It stops short of saying whether a cancellation can be undone or what happens when the registration ID is invalid or already cancelled.

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 both parameters are already documented, but the description adds real meaning: registration_id must be one of the caller's own students' and originates from register_for_program, plus school_slug falls back to the active school. That is genuine value over the schema text.

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 ... program registrations') and scopes it tightly to the caller's own students, with provenance for the ID ('from register_for_program'). An agent can distinguish this from cancel_my_event_registration or cancel_my_lunch_order without opening any 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?

Establishes who may call it (own students only) and steers coordinators away to the Paxaver panel, which is a real exclusion rather than a vague hint. It also mandates confirming with the user before calling, but gives no guidance on edge cases such as an already-cancelled registration.

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