Skip to main content
Glama

PrivateByte

Cancel a service

cancel_service
Destructive

Cancel a service (a server's id is also its service id). Billing stops now and this cannot be undone here. The server keeps running to the end of the paid period, then is suspended; once cancelled it can no longer be managed through this server. Ask the person before calling this. confirm must repeat the service id. Needs a key with services:cancel.

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": {
      "service_id": "<service_id>",
      "confirm": "<confirm>"
    },
    "name": "cancel_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
confirmYesRepeat the service id
request_idNoAn id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action.
service_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond destructiveHint=true, it discloses the exact consequences: billing stops immediately, the action is irreversible here, the server runs until the paid period ends then is suspended, and it becomes unmanageable through this server. It also names the required permission scope (services:cancel), which annotations cannot express.

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 purpose and identity mapping, then consequences, then the confirmation requirement and auth scope. The telegraphed style ('cannot be undone here') is dense but every sentence carries operational information; 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?

For a destructive, irreversible mutation with no output schema, the description supplies consequences, the safety gate, the auth requirement, and the identity mapping of the ambiguous parameter. An agent has everything needed to decide and call safely.

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 only 50% (service_id and reason are undocumented in the schema), and the description compensates by equating service_id with the server id and restating that confirm repeats that id. It still says nothing about the optional reason field or request_id, leaving one gap.

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 ('Cancel a service') and immediately disambiguates the identifier by noting a server's id is also its service id, which no sibling does.

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 an explicit precondition ('Ask the person before calling this') that governs when to invoke it, and clarifies what 'confirm' must contain. It does not point to any alternative tool for the cases where this is wrong, but the human-approval gate is the key guidance an agent needs here.

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