Skip to main content
Glama

Aitole — Kaspi Pay

List operations

list_operations
Read-onlyIdempotent

List payment operations, newest first, with cursor pagination (has_more / next_cursor). Filter by status (use status "paid" to see confirmed payments), type (qr or invoice) and creation date. Amounts in whole tenge. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Use when you have no id, e.g. "what was paid today"; for one known id use get_operation. 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_operations"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by operation type.
limitNoPage size, 1-100 (default 20).
cursorNoPagination cursor: pass next_cursor from the previous page.
statusNoFilter by status.
date_toNoCreated on or before this date. Date YYYY-MM-DD in Almaty time, inclusive.
date_fromNoCreated on or after this date. Date YYYY-MM-DD in Almaty time, inclusive.
connection_idNoOptional Kaspi connection (cash register) id. Only needed when the account has several connections.

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 cover safety (readOnly, idempotent, non-destructive), and the description adds real semantic context beyond them: ordering, cursor paging contract, empty-result meaning, and the critical caveat that only status "paid" means a confirmed payment. It does not cover rate limits, permission/auth requirements, or page-size defaults beyond what the schema states.

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

Conciseness4/5

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

Front-loaded with purpose, ordering, and pagination, then usage routing, then a semantic caveat. It is dense but every sentence carries weight; minor redundancy in restating has_more/next_cursor and an empty data[] in both the opening and closing sentences.

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?

With 7 optional params, no output schema, and no nesting, the description covers the return shape (data[], has_more, next_cursor), the empty case, and the key domain pitfall about what counts as paid. Nothing an agent needs to call this correctly is missing.

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 interpretation guidance the schema lacks — notably that status "paid" is the confirmed-payment filter and that type is qr or invoice. It does not elaborate the date_from/date_to inclusivity or connection_id disambiguation beyond the schema text.

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 payment operations'), plus ordering ('newest first') and pagination mechanism ('cursor pagination (has_more / next_cursor)'). It also explicitly separates itself from the sibling get_operation, so an agent can choose between them without opening either 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 an explicit usage condition with a concrete example ('Use when you have no id, e.g. "what was paid today"') and names the alternative for the contrasting case ('for one known id use get_operation'). Filter guidance is also actionable, e.g. use status "paid" to see confirmed payments.

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.