Skip to main content
Glama

Aitole — Kaspi Pay

Sandbox: expire operation

sandbox_expire
Idempotent

SANDBOX ONLY (sk_test_ key): simulate a sandbox QR or invoice expiring unpaid. The status changes to "expired" a few seconds later; check with get_operation. Use in tests to see how your flow handles a customer who never pays; for a declined invoice use sandbox_reject.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "sandbox_expire"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYesSandbox operation id.

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?

Beyond the annotations, it discloses that this is sandbox-only, requires an sk_test_ key, changes status to expired after a few seconds, and should be followed by get_operation. This gives the agent the key behavioral context needed to invoke and interpret the tool correctly.

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?

The sandbox restriction is front-loaded, the action and timing are stated compactly, and the alternative is mentioned only where useful. Every sentence adds practical information without waste.

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?

For a one-parameter sandbox simulation tool with no output schema, the description covers scope, effect, timing, follow-up verification, and an alternative tool. Nothing essential for correct invocation appears to be 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 coverage is 100%, and the single operation_id parameter is already documented as a sandbox operation id. The description does not add syntax or format details beyond what the schema provides, so the baseline score is appropriate.

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 description states a specific action: simulate a sandbox QR or invoice expiring unpaid. It clearly scopes the tool to sandbox usage with an sk_test_ key and distinguishes its purpose from sandbox_reject for declined invoices.

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 explicitly says to use this in tests for a customer who never pays and points to sandbox_reject for declined invoices. It also tells the agent to check the result with get_operation, giving clear follow-up guidance.

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.