Skip to main content
Glama

See cancellation requests

list_cancellation_requests
Read-only

Students asking to cancel a plan or get a refund and waiting for the trainer (status pending by default; pass approved, denied, withdrawn or all for history), oldest first, with student_name, student_phone (the guardian's for a dependent), plan_title, type, reason, refund_amount_cents when it is a refund, and the app_url of the student profile. Use it to answer "who asked to cancel and how do I reach them?", then get_student or list_student_subscriptions for one of them. Read only: approving, denying and refunding stay in the app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_cancellation_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNopending (default), approved, denied, withdrawn or all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "pending (default), approved, denied, withdrawn or all.",
      +  "enum": [
      +    "pending",
      +    "approved",
      +    "denied",
      +    "withdrawn",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses the default status (pending), the ordering (oldest first), and explicitly that approving, denying and refunding stay in the app. It does not discuss pagination or result limits, which is the main remaining behavioral gap.

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?

The purpose and default behavior are front-loaded in the first clause, followed by the returned fields, the usage question, and the read-only boundary. Every sentence carries information an agent needs; there is no 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?

There is no output schema, so the description compensates by enumerating the returned fields (student_name, student_phone with the guardian nuance, plan_title, type, reason, refund_amount_cents, app_url). For a single-parameter read tool this leaves nothing an agent needs 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% and the enum is already documented, so the schema carries the baseline. The description still adds meaning by explaining that pending is the default and that approved/denied/withdrawn/all retrieve history rather than the actionable queue.

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 states a specific verb and resource (list cancellation requests) plus the exact scope: pending by default, with approved/denied/withdrawn/all for history. It distinguishes the tool from the many sibling list_* tools by naming the domain (students asking to cancel a plan or get a refund).

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 a concrete question the tool answers ("who asked to cancel and how do I reach them?") and routes the agent to get_student or list_student_subscriptions as the next step for a specific request. It does not explicitly state when not to use it, e.g. when to prefer list_student_subscriptions instead, but the context is otherwise clear.

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