Skip to main content
Glama

Declare subscription

purch_declare_subscription

Declare a recurring charge from one you have seen. The record then confirms it period by period. Declared, then confirmed (P-6): every period from the start date is matched against the vendor's charges within a tolerance; a period with none shows as missed, two in a row make it lapsed. Never declare one the person has not confirmed exists. Effects: subscription declared active.

Input Schema

NameRequiredDescriptionDefault
startNoFirst expected charge. Defaults to the earliest matching charge on record, else today. ISO date, YYYY-MM-DD.
amountYesExpected charge, positive. In cents (integer minor units) — 1250 means $12.50.
reasonNoWhy — part of the record.
vendorYesThe vendor's proper name; created if new.
cadenceYesHow often it charges.
currencyYesISO 4217 code.
tolerance_bpNoHow far a charge may drift and still count, in basis points. Default 1000 (10%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-read-only, non-idempotent, closed-world mutation, so the safety profile is covered. The description adds genuine substance beyond that: the period-by-period matching lifecycle, the tolerance rule, the missed/lapsed escalation, and the terminal effect ('subscription declared active'). It stops short of saying what happens on duplicate declaration or how to undo it.

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?

Purpose is front-loaded, the lifecycle explanation is compressed into one line, and the effect line is clearly separated. The '(P-6)' reference and the phrase 'from one you have seen' are slightly opaque, but nothing is padded.

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?

With seven fully documented parameters and no output schema, the description covers the mutation's consequence and its ongoing matching semantics, which is most of what an agent needs. The remaining gap is duplicate/already-exists handling, notable given idempotentHint=false.

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 coverage is 100% and every parameter carries a description, so the baseline applies. The description only loosely reinforces tolerance semantics ('within a tolerance') without adding format or default detail that the schema doesn't already supply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Declare a recurring charge') and scopes it to charges the agent has already observed ('from one you have seen'). It doesn't name any sibling (e.g. purch_subscriptions, purch_declare_bill_series, purch_get_subscription), so the agent must infer which subscription tool to pick, but the purpose itself is unambiguous.

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?

There is an explicit prohibition: 'Never declare one the person has not confirmed exists,' which is a real when-not condition. What's missing is routing to alternatives — nothing tells the agent whether to use purch_declare_bill_series or purch_subscriptions instead, or what to do if the subscription already exists.

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.