Skip to main content
Glama

Smartrr MCP by usefulapi

Pause a subscription

smartrr_pause_subscription
Idempotent

WRITE: pause a customer's subscription until a date: no orders or charges are created while it is paused, then it resumes on that date. Reverse it with smartrr_resume_subscription. Takes the customer id and subscription id from smartrr_list_subscriptions. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/pause.

Input Schema

NameRequiredDescriptionDefault
customer_idYesSmartrr customer id (`custRel.id`).
unpause_dateYesWhen the subscription resumes.
subscription_idYesSmartrr subscription id (`id`, a UUID).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive write; the description adds real behavior beyond that: no orders or charges are generated while paused and the subscription auto-resumes on the given date. It also names the undo path, which is key for a mutation. It doesn't cover failure modes (invalid date, already-paused) but that is a small gap given the annotation coverage.

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 sentences, front-loaded with the WRITE marker and the core effect, then undo path, then parameter provenance and endpoint. Nothing is redundant.

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?

For a no-output-schema mutation with full schema coverage, the definition covers effect, reversibility, and id provenance. The only omission is the expected date format/validation for unpause_date and whether re-pausing an already-paused subscription errors.

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 100%, so the baseline would be 3; the description adds provenance by saying customer_id and subscription_id come from smartrr_list_subscriptions, which tells the agent how to obtain them. The unpause_date format is still left to the schema's terse one-liner.

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 (pause a subscription) plus the temporal scope (until a date), and immediately distinguishes it from the reversible counterpart smartrr_resume_subscription. An agent can tell it apart from cancel/skip siblings without reading further.

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?

Explicitly names smartrr_resume_subscription as the reversing action and directs the agent to smartrr_list_subscriptions as the source of the required ids. Missing an explicit 'when not to use' contrast against cancel or skip, but the operating context is clear.

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.