Skip to main content
Glama

Redeem access code

pronoic_redeem_code

Redeem an optional tier or referral code for this agent. A prnc_ beta invite used at signup is already applied, not redeemed here. If redemption returns invite_already_used_at_signup, do not retry it. Billing and pronoic_status show Invite applied. The code is stored as a hash. Optional operation_id is 1 to 64 letters, numbers, dots, underscores, or hyphens. Generate a new one for each write. If the call times out, call pronoic_operation_status with that id before you retry. The same id, tool and body replays a retained verifiable result. Reusing an id for a different tool or body conflicts. A verifiable new receipt may add conflict_reason different_tool or different_request (body or scoped context); older or ambiguous receipts keep a generic conflict. This detail never permits a retry or a new ID. Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries. Receipts are retained for about seven days; not_found does not prove an action never ran. Never automatically use a new id after an uncertain outcome.

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": "pronoic_redeem_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
agent_idNo
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare a non-read-only, non-idempotent, non-destructive, closed-world mutation; the description goes far past that by disclosing that the code is stored as a hash, that receipts are retained roughly seven days, that not_found does not prove an action never ran, and that legacy/stale/expired/ambiguous receipts never authorize an automatic retry. These are exactly the side-effect and outcome-uncertainty facts an agent cannot infer from structured fields.

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 purpose and the signup carve-out are well front-loaded, but the back half is a dense idempotency essay that restates the same rule three times: 'This detail never permits a retry or a new ID', 'Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries', and 'Never automatically use a new id after an uncertain outcome'. Consolidating those would strengthen rather than weaken the warning.

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 non-idempotent mutation with no output schema and three undocumented parameters, the description supplies error codes (invite_already_used_at_signup, not_found), the observable post-condition (billing and pronoic_status show 'Invite applied'), and full retry/replay semantics. The remaining gap is agent_id's meaning and what a successful redemption returns.

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 0% schema description coverage the description must carry all three parameters. It explains operation_id's purpose and rules thoroughly, but its stated character set ('letters, numbers, dots, underscores, or hyphens') omits the colon present in the schema pattern, and agent_id is never explained at all. 'Code' is only described by example (tier or referral code).

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 opening sentence names a specific verb and resource ('Redeem an optional tier or referral code for this agent') and immediately carves out what is NOT this tool ('A prnc_ beta invite used at signup is already applied, not redeemed here'). That boundary is genuinely useful, though it never contrasts with the other pronoic_* action tools in scope beyond naming pronoic_status and pronoic_operation_status as follow-ups.

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?

It gives clear usage context: redeem tier/referral codes here, don't retry when invite_already_used_at_signup is returned, check billing/pronoic_status for the resulting 'Invite applied' state, and call pronoic_operation_status on timeout before retrying. That is explicit routing and exclusion guidance, but it is scoped to retry/timeout decisions rather than to when an agent should redeem at all versus using a different path.

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