Skip to main content
Glama

Cancel maintenance

cancel_maintenance
DestructiveIdempotent

Remove an upcoming maintenance window, or end a running one now. Needs write access.

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": {
      "app": "<app>",
      "maintenance_id": "<maintenance_id>"
    },
    "name": "cancel_maintenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
maintenance_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds real value by clarifying that a running window can be ended immediately rather than merely unscheduled, and that write access is required. It stops short of saying whether the cancellation is reversible or what happens to in-flight work during an active window.

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?

Two sentences, no filler, with the primary action and its two modes front-loaded before the access requirement. Nothing is redundant with the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with rich annotations and no output schema, the description covers the action, both operational modes, and the authorization requirement. The notable gap is the undocumented maintenance_id, which is the parameter most likely to trip up an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: the app parameter is documented in the schema (slug, name, domain, URL or id, pointing to list_apps), but maintenance_id has no description anywhere. The description does not explain where a maintenance_id comes from or what identifying it requires, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verbs ("Remove", "end") on a concrete resource (a maintenance window) and distinguishes two cases: an upcoming window versus a running one. It is clearly the inverse of the sibling schedule_maintenance, though it never names that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the two described scenarios (cancel a scheduled window vs. terminate a live one), but there is no explicit statement of when to prefer this over alternatives or of prerequisites beyond "needs write access." An agent must infer the relationship to schedule_maintenance.

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