Skip to main content
Glama
Pletopay MCP Server

Pletopay MCP Server

Official
by pletopay

Cancel a subscription (now, or at the end of the current period)

cancel_subscription
Destructive

Cancel a subscription immediately or schedule cancellation at the end of the current billing period by setting at_period_end to true.

Instructions

Cancel a subscription (now, or at the end of the current period).

Cancel a subscription now, or at the end of the current period with at_period_end: true. Canceling an already canceled subscription returns 409 subscription_canceled.

Input Schema

NameRequiredDescriptionDefault
idYesThe subscription id (`sbs_…`).
reasonNo
at_period_endNoCancel when the current period ends instead of now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered structurally. The description adds genuinely new behavior — the two cancellation timings and the `409 subscription_canceled` outcome for repeated calls — but says nothing about reversibility, reactivation, proration, or what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is a verbatim duplicate of the title, which is pure waste, and the parenthetical restates the same idea a third time. The remaining content is compact and front-loads the mode choice correctly, but the redundancy costs it.

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 destructive mutation tool with no output schema, an agent would benefit from knowing what a successful cancellation returns (canceled object, effective date, whether the subscription becomes read-only). The description covers the two timing modes and the error case but leaves that return/effect picture incomplete.

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 67%, and the description reinforces the meaning of `at_period_end: true` beyond the schema's one-line note. However, the `reason` parameter is undocumented in both the schema and the description, so the description does not fully compensate for the coverage gap.

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 names a specific verb and resource ('Cancel a subscription') and immediately distinguishes the two modes of cancellation. It is clearly separable from siblings like get_subscription, list_subscriptions, and create_subscription, though that separation comes from the verb itself rather than any explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real conditional guidance: use `at_period_end: true` to cancel at the end of the period versus immediately by default, and it documents the 409 error for re-canceling. It does not mention alternatives (e.g., plan changes via update_subscription) or when not to cancel, so usage context is implied rather than complete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools