Skip to main content
Glama

Aitole — Kaspi Pay

List recurring invoices

list_subscriptions
Read-onlyIdempotent

List recurring invoices (subscriptions) with status, amount (whole tenge), period, next_billing_at, cycles_paid and a masked phone. Cursor pagination. Use to find subscriptions when you have no id, newest first, e.g. status "paused"; for one known id use get_subscription, for the invoices it sent use list_subscription_invoices. Returns data[], has_more and next_cursor; an empty data[] means nothing matches.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_subscriptions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100 (default 20).
cursorNoPagination cursor: pass next_cursor from the previous page.
statusNoFilter by status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real behavior beyond them: cursor pagination, newest-first ordering, whole-tenge units, phone masking, and the return shape (data[], has_more, next_cursor). It also states that an empty data[] means nothing matches, which prevents a false-negative interpretation.

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?

Front-loaded with purpose, then scope/ordering, then alternatives, then return shape. The short "Cursor pagination." fragment and the field list both carry information; no sentence is filler and nothing essential is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the returned fields and the pagination envelope. Combined with 100% schema coverage on three optional params, an agent has everything needed to call and interpret this tool without further context.

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%, so limit, cursor, and status are already documented in the schema, including the enum values. The description reinforces the status filter with an example and notes cursor pagination, but adds no syntax or constraints beyond what the schema provides — baseline 3.

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 ("List recurring invoices (subscriptions)") and immediately enumerates the fields returned, so an agent knows exactly what this retrieves. It is clearly separable from get_subscription and list_subscription_invoices, both of which are named.

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?

Explicit routing: use when you have no id, with a concrete example (status "paused"), and two named alternatives tied to their own selection conditions (one known id -> get_subscription; the invoices it sent -> list_subscription_invoices). No inference required.

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.