Skip to main content
Glama

Moneda

redeem_points

Destructive

Redeem the user's Moneda Points for prepaid AI usage credits. Spends points (a negative points transaction) and grants the matching AI budget atomically. Enforces the minimum, the sufficient-balance check, and the monthly cap (see get_points_redemption_config). Pass a stable requestId (uuid) held across retries when you can: retrying with the same value is a no-op (returns granted:false). Omitting it is safe. The server derives the key from (user, points, 30s window) rather than minting a random one, so a retry still dedupes.

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": {
      "points": "<points>"
    },
    "name": "redeem_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYesHow many points to redeem for AI credits.
requestIdNoOptional idempotency key (uuid). Reuse the same value on a retry; if omitted the server derives one from (user, points, 30s window).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Well beyond the destructiveHint=true annotation: it discloses atomic spend-and-grant semantics, enforcement of minimum/sufficient-balance/monthly cap, that a duplicate requestId is a no-op returning granted:false, and the server-side 30s derived-key fallback. This is exactly the failure-mode context an agent needs before an irreversible spend.

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?

Four sentences, front-loaded with the action and consequence, then idempotency detail. Mild redundancy between 'Omitting it is safe' and the derived-key sentence, but nothing is wasted enough to distract.

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?

For a destructive 2-parameter tool with no output schema, the description covers the safety contract, atomicity, guardrails and partial return signal (granted:false). A fuller return shape would be nice, but the essential call-correctly information is present.

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 already 100%, so the baseline is 3; the description adds real value by explaining the dedupe behavior tied to requestId and the returned granted:false signal, plus the negative-transaction framing of points. It doesn't add numeric constraints beyond the schema but the idempotency semantics are a genuine supplement.

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 (redeem) and resource (Moneda Points for prepaid AI usage credits), and explains the mechanism (spends points, grants AI budget). It is clearly distinguishable from get_points_redemption_config and purchase_usage_credits, the latter being a different funding path rather than a points redemption.

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

Usage Guidelines4/5

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

Gives concrete guidance for the retry/idempotency decision ('pass a stable requestId... Omitting it is safe') and points to get_points_redemption_config for the cap/minimum rules. It does not explicitly state when-not to call this versus purchase_usage_credits, so it stops short of the top mark.

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