Skip to main content
Glama

subscription_cancel

DestructiveIdempotent

Stop watching by cancelling one Port OS event subscription using its exact ID from subscription_list or subscription_inspect.

Cancellation is idempotent. Select the intended subscription by name, source endpoint and catalog event; names are not cancellation keys. A stopped monitor requires a new subscription to watch again.

Input Schema

NameRequiredDescriptionDefault
idYesExact subscription ID returned by subscription_list. Never use a display name or endpoint ID.
ifMatchYesExact strong etag from subscription_inspect or subscription_list.
idempotencyKeyYesStable unique key for this write; reuse it only to retry the same request for 24 hours.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Stable unique key for this write; reuse it only to retry the same request for 24 hours.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / ifMatch
      Added value: +{
      +  "description": "Exact strong etag from subscription_inspect or subscription_list.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "idempotencyKey",
      +  "ifMatch",
      +  "id"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description restates idempotency (slight redundancy) but adds genuinely new consequence information: a stopped monitor requires a new subscription to resume watching. That is a non-obvious outcome an agent needs before calling a destructive tool.

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 short sentences, front-loaded with the core action, then the key-identity constraint, then the consequence. No filler and nothing buried.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. The description supplies the destructive consequence and key requirements; the only remaining gap is guidance on sibling alternatives for managing subscriptions.

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 description coverage is 100%, so the schema already documents id, ifMatch and idempotencyKey in detail. The description's note that names/endpoint IDs are not cancellation keys largely repeats the schema's id description, and ifMatch and idempotencyKey are left entirely to the schema, so no value is added beyond baseline.

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 ('cancelling one Port OS event subscription') and immediately constrains scope to an exact ID sourced from subscription_list or subscription_inspect. This lets an agent distinguish it from subscription_inspect, subscription_list and subscription_label_edit without opening a 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?

Clearly explains how to obtain the key (from subscription_list or subscription_inspect) and warns that names, source endpoints and catalog events identify a subscription but are not cancellation keys. It lacks an explicit statement of when to prefer this over sibling tools like subscription_label_edit, so it stops short of full alternative routing.

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