Skip to main content
Glama

Aitole — Kaspi Pay

List invoices of a recurring invoice

list_subscription_invoices
Read-onlyIdempotent

List the invoices a subscription has sent, each a normal operation with its status. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Use it to see which periods the customer paid and which are still pending or expired. Use for the payment history of one subscription; for payments across the whole account use list_operations. Returns data[] newest first, up to 100, without paging.

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": "list_subscription_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
subscription_idYesSubscription id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, but the description adds behavior the agent cannot get from them: result cap of 100, newest-first ordering, no paging, and the crucial caveat that a payment counts only when operation status is "paid" (not merely when a QR or invoice was created). It does not cover auth/permission requirements, but the status-interpretation and paging limits are substantial added value over the annotations.

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-loads the core action, then layers the paid-status caveat, the use case, the alternative, and the return shape in a compact sequence of sentences with no filler; each sentence carries distinct information.

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 no output schema, the description carries the return-shape burden, and it does so reasonably (data[] newest first, up to 100, no paging) plus status semantics. It does not state what happens if the subscription id is invalid or whether empty results are possible, minor gaps for this complexity level.

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?

Only one parameter exists and the schema documents it at 100% coverage ("Subscription id."), so the baseline is met; the description reinforces that all results are scoped to that single subscription, which is slightly more than the schema alone conveys but does not add format or sourcing detail.

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 the invoices a subscription has sent") with an explicit scope of one subscription, and names the sibling that covers the wider account scope (list_operations), so an agent can pick it apart from alternatives without opening a schema.

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?

Gives a positive use case (see which periods the customer paid vs. pending/expired) and an explicit alternative with its selecting condition ("for payments across the whole account use list_operations"). Nothing about when to call it is left to inference.

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.