Skip to main content
Glama

UXON AI

billing_traffic_credit_redeem

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Redeem an explicitly supplied traffic-credit code through the current redemption service.

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": {
      "teamId": "<teamId>",
      "code": "<code>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "billing_traffic_credit_redeem"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
teamIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety and retry profile is covered elsewhere. The description adds only the 'explicitly supplied' condition; it says nothing about what happens to an invalid, expired, or already-redeemed code, nor whether the code is consumed irreversibly.

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?

The definition is short, but the leading sentence is boilerplate about reading agent.instructions rather than about this tool, so the actual purpose is not front-loaded. 'Through the current redemption service' is empty phrasing that earns no place.

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?

An output schema exists, so return values need no explanation, and annotations cover idempotency and safety. What remains missing is the mutation's effect (whether the code is burned, what failure states look like) and the meaning of teamId, which leaves the definition merely adequate for a write tool with three required parameters.

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 only 33% – only idempotencyKey is documented in the schema. The description clarifies 'code' slightly as an externally supplied traffic-credit code, but it says nothing about teamId or how a team is selected, so it does not 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 states a specific verb and resource ('Redeem an explicitly supplied traffic-credit code'), which is enough to distinguish it from read-oriented siblings like billing_traffic_balance_get. However, it never contrasts itself with other credit-related siblings such as billing_usage_credits_checkout_create, and 'through the current redemption service' is vague filler rather than scope information.

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?

'Explicitly supplied' implies the agent must not invent or guess a code, which is a real usage constraint. But there is no guidance on when to prefer this over checkout_create, no prerequisites (plan/module state), and no note on how to reuse the idempotency key across retries.

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