Skip to main content
Glama

Delete Subscription

delete_subscription
Destructive

Permanently delete a tracked subscription record. Deletion removes the subscription immediately while recording a subscription.delete entry (with the prior record in metadata.before) in the audit log. This is the public API removal path; soft cancel/pause via status is not supported. Confirm with the user before calling (riskLevel: high). Requires the 'write' API key scope. Use when: The user explicitly asks to permanently delete or remove a tracked subscription and confirms the exact target. Do not use when: The user wants to change fields on a subscription they still track. Use update_subscription instead. Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.

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": {
      "id": "<id>"
    },
    "name": "delete_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSubscription id returned by list_subscriptions or create_subscription.

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 the destructiveHint/idempotentHint annotations, it discloses the audit-log side effect (a subscription.delete entry with the prior record in metadata.before), the required 'write' API key scope, the absence of a soft-cancel path, and a high risk level requiring user confirmation. These are exactly the behaviors an agent cannot infer from structured fields.

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?

Core destructive semantics, audit effect, and the confirmation/scope requirements are front-loaded in the first few sentences. The later block on Bark URL, test pushes, timeZone/locale, and category catalog is useful scope fencing but runs long and repeats the web-app redirection idea twice.

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 single-parameter destructive tool with no output schema, the description covers the mutation's effect, its auditability, authorization requirements, confirmation requirement, and boundary of what it cannot do. Nothing needed to invoke it correctly is missing.

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?

With one parameter at 100% schema description coverage, the schema already documents 'id' as a UUID returned by list_subscriptions or create_subscription. The description adds no formatting or selection guidance for the id beyond what the schema states, so the baseline 3 applies.

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 opens with a specific verb and resource ('Permanently delete a tracked subscription record') and immediately distinguishes this from a status-based soft cancel/pause. An agent can tell this apart from update_subscription or create_subscription without opening any schema.

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?

It gives explicit when-to-use ('user explicitly asks to permanently delete ... and confirms the exact target') and when-not-to-use ('wants to change fields on a subscription they still track') plus the named alternative update_subscription. It also states the out-of-scope requests it must refuse and where to redirect the user.

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