Skip to main content
Glama

Create Subscription

create_subscription

Create a new tracked subscription for the API key owner. Confirm with the user before calling (riskLevel: medium). Requires the 'write' API key scope. Use when: The user asks to add, record, or start tracking a subscription that does not already exist. Do not use when: The target subscription already exists. Use update_subscription instead. The user is only asking for analysis or a recommendation. 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": {
      "name": "<name>",
      "category": "<category>",
      "amount": "<amount>",
      "currency": "<currency>",
      "period": "<period>"
    },
    "name": "create_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
amountYes
periodYes
isTrialNo
categoryYes
currencyYes
customDateNoRequired only when period is custom. Omit for monthly or yearly subscriptions.
trialEndsOnNoTrial end / first-charge date in YYYY-MM-DD format. Required when isTrial is true unless nextPaymentDate is provided.
nextPaymentDateNoUpcoming renewal date in YYYY-MM-DD format. Required unless isTrial is true and trialEndsOn is provided (when both are sent on a trial, they must match).
billingAnchorDayNo
notificationEnabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the basic safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false); the description adds material context they do not carry: a required confirmation step with riskLevel medium, the 'write' API key scope prerequisite, and a hard boundary on which operations stay in the web app. It also clarifies that notificationEnabled toggling becomes possible only after Bark is configured on the web, which prevents a mis-call.

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?

Well front-loaded: purpose, confirmation, scope, then when/when-not, then capability limits. Slightly bloated by the refusal script with two documentation URLs, though that detail is functional guardrail rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent write with 11 parameters and no output schema, the description covers authorization, confirmation, and scope boundaries well but says nothing about the required/conditional field rules (customDate vs period, trialEndsOn vs nextPaymentDate) that the schema only partly documents. Adequate for gating the call, thin for shaping it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 27% across 11 parameters, so the description must compensate and largely does not: name, category, amount, currency, period, isTrial, billingAnchorDay and notificationEnabled are never explained. The only parameter-adjacent statement is a passing reference to toggling enabled/daysBefore and per-subscription notificationEnabled, which does not clarify the create-time fields.

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 ('Create a new tracked subscription') plus scope ('for the API key owner'), and explicitly names update_subscription as the alternative for the already-exists case.

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?

Uses explicit 'Use when' / 'Do not use when' blocks with three named conditions, including the existing-subscription case routed to update_subscription and the analysis-only case. It also enumerates out-of-scope capabilities (Bark URL/device key, test push, timeZone/locale, category catalog) that must be refused with a redirect to the web app, leaving nothing to inference.

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