Skip to main content
Glama

Pay With Prompt

issue_voucher

Spend credits for a one-time voucher. sandbox uses test credits and delivers nothing. cloudhil costs 10 live credits per flash.

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": {
      "merchant": "<merchant>"
    },
    "name": "issue_voucher"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
merchantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description does carry meaningful behavioral weight: it discloses that credits are consumed and that sandbox calls 'deliver nothing', which is genuinely useful side-effect information. However, it omits whether voucher issuance is reversible, what happens on insufficient balance, and what an unexplained 'flash' means, so it is not fully self-sufficient for a credit-spending mutation.

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

Conciseness3/5

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

It is short and front-loaded with the core action followed by environment-specific cost notes, so nothing is padded. But the second and third sentences lean on jargon ('sandbox delivers nothing', 'per flash') that is not defined anywhere, costing clarity per word.

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

Completeness2/5

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

For a credit-spending mutation with no annotations, no output schema, and 0% parameter documentation, the description should explain the cost model relative to 'units' and what the caller receives (a voucher code?). Neither is covered, so an agent cannot confidently pre-compute cost or interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are two undocumented parameters. The description never explains what 'merchant' identifies or what 'units' controls (its 1–20 range and how it relates to the '10 live credits per flash' cost), so it fails to compensate for the coverage gap.

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 outcome — spending credits to obtain a one-time voucher — which matches the tool name and is distinguishable from a sibling like verify_voucher. It is slightly undermined by unexplained terminology ('flash', 'cloudhil'), which leaves the resource itself a bit fuzzy.

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

Usage Guidelines2/5

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

It gives cost context (10 live credits per flash, sandbox uses test credits) which helps an agent reason about when to call, but there is no explicit when-to-use/when-not guidance and no pointer to alternatives such as verify_voucher or get_balance for checking funds first.

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