Skip to main content
Glama

Issue Kash personal voucher

personal_voucher_issue
DestructiveIdempotent

Issue a personal voucher for one customer. Requires explicit confirmation and an active shop administrator or manager. Reuse the same key and arguments for a retry.

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": {
      "confirm": "<confirm>",
      "idempotency_key": "<idempotency_key>",
      "customer_id": "<customer_id>",
      "kind": "<kind>",
      "value": "<value>",
      "label": "<label>"
    },
    "name": "personal_voucher_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
labelYes
valueYesPositive decimal amount. For a percentage, use at most two decimal places and a maximum of 100.
confirmYesSet to true when the user explicitly requests this issuance.
minimumNo
expires_onNoCalendar date in YYYY-MM-DD format.
customer_idYesKash customer ID.
idempotency_keyYesUnique request key for this operation, such as a UUID. Reuse the same key and arguments when retrying.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: the authorization role required, the explicit-confirmation gate, and the retry contract of reusing the same key and arguments. It still does not say what a partial failure or an already-issued voucher does to state.

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?

Three short sentences, front-loaded with the action and followed by prerequisites then the retry rule. Nothing is redundant, though the retry sentence partially restates the idempotency_key schema text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and the safety-critical behaviors (confirmation, role, idempotent retry) are covered. For an 8-parameter destructive mutation with only 63% schema coverage, the description should still explain how kind/value/minimum interact, which it does not.

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 63%, so roughly a third of the parameters arrive undocumented. The description reinforces confirm and idempotency_key semantics but says nothing about kind (fixed vs percent), label, minimum, or expires_on, which are the parameters most likely to be misused.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Issue a personal voucher") and scopes it to "one customer," which separates it from the sibling listing/quote tools. It does not explicitly name those siblings, so an agent must infer the distinction from the wording.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Prerequisites are stated clearly (explicit user confirmation, an active shop administrator or manager), which tells the agent when the call is permissible. However, no alternative is named - it never says when to prefer personal_voucher_quote or coupon_issue over this tool.

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