Skip to main content
Glama

Issue Card

issue_card
Destructive

Issue a new virtual card of the plan. If the balance covers the issue fee the card is issued now and the fee is charged. If not, returns the USDT address and QR with the amount to send and the other ways this client can pay (SBP, bank card) — ask the client which one and call payment_link for its link; for the client's first card it is then issued by itself once the money lands. Confirm the plan and fee with the client first.

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": {
      "plan": "<plan>"
    },
    "name": "issue_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesPlan code from card_plans.
networkNoUSDT network for the deposit if the balance is short. Default: the first one.
languageNoThe language you talk to the client in, e.g. "ru" — it decides which other ways to pay are offered. Default: the language of the client's account.

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 only declare destructiveHint=true, so the description must carry the rest — and it does: it discloses that a fee is charged at issuance, that issuance is conditional on balance, that a shortfall returns a USDT address/QR plus alternative payment routes, and that first-card issuance completes asynchronously after funds arrive. That async-and-charging behavior is not derivable from the annotation and is exactly the context an agent needs.

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-loads the core action and branches cleanly (issue now vs. balance short), with zero filler sentences. The middle clause is dense and slightly run-on ('ask the client which one and call payment_link for its link; for the client's first card it is then issued by itself'), costing a little readability.

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 and a destructive mutation, the description does the heavy lifting: it explains the success path, the shortfall path, and the fee. The remaining gap is what a successful issuance actually returns (e.g., card identifier) — an agent gets the payment-branch return value but not the success payload.

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; the description earns above that by explaining that 'network' only matters when the balance is short and that plans carry a fee to confirm. It adds less for 'language' (the specific SBP/bank-card options are mentioned but not tied back to that parameter), so it stops short of a 5.

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?

Opens with a specific verb+resource ('Issue a new virtual card of the plan') and immediately delimits its role versus siblings by redirecting the payment-method path to payment_link and the plan lookup to card_plans. An agent can distinguish it from deposit_to_card or card_details_link without opening any 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?

Explicitly states the prerequisite ('Confirm the plan and fee with the client first') and the branch condition: if balance covers the fee, it issues now; if not, ask which payment route the client wants and call payment_link for that link. It also names the when-not alternative behavior for the first-card case (card issues itself once funds land).

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.

Resources