Skip to main content
Glama

Aitole — Kaspi Pay

Pause recurring invoice

pause_subscription
Idempotent

Pause an active recurring invoice: no new invoices are sent until resume_subscription. An invoice already sent stays payable. Reversible, unlike cancel_subscription. Use when the customer takes a break; to stop for good use cancel_subscription. Returns the subscription with status "paused".

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": {
      "subscription_id": "<subscription_id>"
    },
    "name": "pause_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
idempotency_keyNoOptional. Your own unique id for this request, e.g. the order number "order-1024". Repeating a call with the same idempotency_key returns the same result instead of creating a duplicate, so pass one whenever you might retry. If omitted, a random key is generated (then a retry WILL create a duplicate).
subscription_idYesSubscription id to pause.

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 destructiveHint=false, idempotentHint=true and readOnlyHint=false, but the description adds the actual business effects: no new invoices are generated while paused, and an already-sent invoice remains payable. It also discloses reversibility and the resulting status value. It stops short of stating permission requirements or whether pending scheduled invoices are altered, so a 4 rather than a 5.

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?

Four short sentences, front-loaded with the core action and effect, then the usage routing, then the return value. Nothing is decorative; the mention of cancel_subscription twice serves two distinct purposes (reversibility vs. routing).

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 only two parameters, full schema coverage, and no output schema, the description covers effect, alternatives, and the returned status, which is what an agent needs. The remaining gap is the absence of any statement about auth scopes or side effects on scheduled/pending invoices, which matters for an open-world mutation.

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 description coverage is 100% — subscription_id and idempotency_key are both documented in-schema, including the retry semantics of idempotency_key — so the description owes little here. The description adds no parameter-specific meaning beyond what the schema provides, which is the baseline 3 case.

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?

The opening clause gives a specific verb and resource ('Pause an active recurring invoice') and immediately scopes it ('active'), distinguishing it from cancel_subscription and resume_subscription named later in the same description. An agent can identify the operation from the first sentence without consulting siblings.

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?

It states the use case explicitly ('Use when the customer takes a break') and the exclusion with a redirect ('to stop for good use cancel_subscription'), and it sets the duration boundary via resume_subscription. The when-to-use and when-not-to-use conditions are both present, with the alternative named.

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.