Skip to main content
Glama

Smartrr MCP by usefulapi

Resume a subscription

smartrr_resume_subscription
Idempotent

WRITE: reactivate a paused or cancelled subscription; the customer will be billed on next_billing_date and every cycle after. Customer-facing: it restarts charges to the customer's card. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/activate.

Input Schema

NameRequiredDescriptionDefault
customer_idYesSmartrr customer id (`custRel.id`).
subscription_idYesSmartrr subscription id (`id`, a UUID).
next_billing_dateYesThe next billing date after reactivation.

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?

Goes beyond the annotations by disclosing the financial consequence: the customer is charged on next_billing_date and every cycle after, and it is customer-facing against the card. This is the critical behavior for a mutation tool and is stated plainly, though it leaves open the error path for already-active subscriptions.

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?

Two short clauses plus an endpoint, with the WRITE classification and the consequence front-loaded. Every element earns its place and 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?

For a 3-parameter, fully documented mutation with annotations already covering safety and idempotency, the description supplies the missing piece — billing impact. Only the failure mode for non-resumable states is absent, which is a minor gap for a tool of this complexity.

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 is 3, but the description adds real meaning: next_billing_date is not a cosmetic field update — it is the date the customer's card is charged, which tells the agent it must be a future, intentional value. It does not add format details beyond the schema.

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 ("reactivate a paused or cancelled subscription") and marks the operation class as WRITE up front. An agent can distinguish it from smartrr_pause_subscription and smartrr_cancel_customer_subscription purely from the description.

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?

Gives the precondition for use (the subscription is paused or cancelled) and implies the inverse of the pause/cancel siblings. It does not state explicitly what happens if the subscription is already active, so it falls short of a full when/when-not/alternatives statement.

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.