Skip to main content
Glama

Delete a subscription

delete_subscription
DestructiveIdempotent

Permanently delete a subscription so polling and webhook deliveries stop; it cannot be restored. Confirm with the user first, and prefer pausing if they may want it back.

Instructions

Permanently delete a subscription: its polling and webhook deliveries stop and it cannot be restored. Confirm with the user first, and prefer pause_subscription if they may want it back. Events and deliveries already recorded stay on FlightByte's side for 30 days.

Input Schema

NameRequiredDescriptionDefault
idYesSubscription id, e.g. "sub_7Kd91mQx0Zb2", as returned by create_subscription or list_subscriptions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds critical context beyond that: polling and webhook deliveries stop, deletion cannot be reversed, and recorded events/deliveries persist for 30 days. This gives the agent concrete consequences needed 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 tightly written sentences, front-loaded with the core destructive action, followed by usage guidance and a data-retention note. No sentence is wasted or redundant.

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?

Given the tool's simplicity (one parameter, no output schema), the description covers purpose, consequences, alternatives, and data-retention behavior. Combined with the rich annotations, an agent has everything needed to decide and invoke correctly.

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% and the single `id` parameter is fully documented in the schema, including an example and source. The description adds no additional parameter meaning, so the baseline of 3 is appropriate.

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 ('Permanently delete') and resource ('a subscription'), and distinguishes itself from sibling tools like pause_subscription by emphasizing permanence. The agent can immediately tell this is a destructive deletion operation.

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

Usage Guidelines5/5

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

Explicitly instructs to 'Confirm with the user first' and 'prefer pause_subscription if they may want it back', naming the alternative and the condition for using it. This directly routes the agent away from deletion when appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.