Skip to main content
Glama

Redeem Credit Code

redeem_code

Redeem a credit code (CR-…) on the caller’s account for days of the pass: no hourly allowance and 500 rows a page on every key, the CLI and MCP while it runs.

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": {
      "code": "<code>"
    },
    "name": "redeem_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, closed-world write, and the description usefully adds the effect ('days of the pass', removal of the hourly allowance, 500 rows per page, applies to 'every key, the CLI and MCP while it runs'). It does not disclose the important redemption behaviors: whether a code can be redeemed twice (idempotency), what error surfaces for an expired or already-used code, or whether the grant stacks with or extends an existing pass.

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 a single front-loaded sentence, which is the right shape for a simple tool, but the back half collapses several ideas into a comma-spliced clause ('no hourly allowance and 500 rows a page on every key, the CLI and MCP while it runs') that is hard to parse on a first read.

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?

For a one-parameter mutation with no output schema, the description should say what a successful call returns (days added, new expiry) and how failures present. It defines the benefit but leaves the response contract and error semantics entirely unstated.

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?

With one parameter and 0% schema description coverage, the schema supplies nothing beyond 'string'. The description compensates only partially by revealing the expected 'CR-…' prefix format, but says nothing about case sensitivity, whitespace, or length validation.

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 uses a specific verb and resource ('Redeem a credit code (CR-…) on the caller's account') and even names the code prefix format, so the action is unambiguous. It does not need to differentiate against siblings since none of 'cheapest', 'search_servers', the webhook tools, etc. overlap in purpose, but it also never explicitly rules them out.

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?

Usage is only implied: an agent can infer this is the tool for entering a pass code, and the '(CR-…)' hint tells it what the input looks like. There is no guidance on when not to use it, what to do with an invalid or already-redeemed code, or how it relates to any sibling 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