Skip to main content
Glama

Update Subscription

update_subscription
Destructive

Update one or more writable fields on an existing subscription. nextPaymentDate is authoritative; monthly schedules preserve billingAnchorDay across short months. Confirm with the user before calling (riskLevel: medium). Requires the 'write' API key scope. Use when: The target subscription has been identified and the user asks to change amount, category, currency, period, nextPaymentDate, customDate, name, notificationEnabled, isTrial, or trialEndsOn. Do not use when: The user wants to permanently remove the record. Use delete_subscription after explicit confirmation. 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>",
      "patch": "<patch>"
    },
    "name": "update_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSubscription id returned by list_subscriptions or create_subscription.
patchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description supplies the 'write' API key scope requirement, a medium risk level with a confirm-before-calling instruction, the precedence of nextPaymentDate, and billingAnchorDay preservation across short months. It also clarifies which operations must be refused, which is meaningful behavioral context not present in 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?

The core operation, fields, and confirmation requirement are front-loaded, which is appropriate. The later Bark/reminders guidance is verbose but arguably necessary to prevent a class of incorrect calls, so the length is mostly earned.

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 mutation tool with a nested patch object, incomplete schema coverage, and no output schema, the description covers the key semantics: which fields can change, confirmation requirements, scope prerequisites, precedence rules for dates, and what must not be attempted. Nothing critical is missing for correct invocation.

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 50%, so the description helps by listing the writable patch fields and explaining that nextPaymentDate is authoritative and monthly schedules preserve billingAnchorDay. It does not, however, explain the customDate pattern or constraints on amount/period beyond what the schema already enforces.

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 states a specific verb ('Update') and resource ('existing subscription'), enumerates the writable fields, and explicitly distinguishes this tool from delete_subscription. An agent can identify the operation without inspecting the 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 (target subscription identified, user asks to change one of the listed fields) and when-not-to-use (permanent removal → delete_subscription after confirmation). It also names an alternative and specifies out-of-scope requests (Bark configuration, timeZone/locale, category catalog) that should be refused and redirected to the web app.

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