Skip to main content
Glama

Aitole — Kaspi Pay

Get payment link

get_payment_link
Read-onlyIdempotent

Get one permanent payment link by id: url, title, amount settings, status (active or disabled) and stats paid_count / paid_total (whole tenge, paid payments only). To see the payments themselves use list_operations. Use when you have the link id; to find it by title use list_payment_links. An unknown id returns a 404 not_found error.

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": {
      "payment_link_id": "<payment_link_id>"
    },
    "name": "get_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_link_idYesPayment link id returned by create_payment_link / list_payment_links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds genuine context beyond them: the failure mode (unknown id returns 404 not_found) and precise stats semantics (whole tenge, paid payments only, status limited to active/disabled). It stops short of mentioning auth or rate-limit behavior, so not a full 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?

Three tightly packed sentences with no filler; the core action and its return shape are front-loaded, followed by the alternative routing and then the error case. Every clause carries information an agent would otherwise have to guess.

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?

No output schema exists, so the description must carry the return contract, and it does by naming each field and defining the ambiguous ones (paid_count/paid_total, tenge units, paid-only). With a single fully-described parameter and full annotation coverage, nothing an agent needs to invoke this correctly is missing.

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% and the single parameter is fully documented in-schema as the id returned by create_payment_link / list_payment_links. The description reinforces the id-based nature of the call and the 404 on an unknown value but adds no format or syntax detail beyond what the schema already supplies, so the baseline 3 applies.

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 ("Get one permanent payment link by id") and immediately enumerates the returned fields (url, title, amount settings, status, paid_count/paid_total), so an agent knows exactly what it gets back. The "permanent" qualifier and the id-based scope distinguish it from list_payment_links without needing to open the 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 positive condition ("Use when you have the link id"), names the alternative for the lookup-by-title case (list_payment_links), and routes the related-but-different need (seeing individual payments) to list_operations. All three routing decisions are stated rather than inferred.

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.