Skip to main content
Glama

Redeem package

redeem_package

Redeem credits from a participant's pass (default 1). Marks it used_up at zero.

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": {
      "participant_package_id": "<participant_package_id>"
    },
    "name": "redeem_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoCredits to deduct (default 1).
participant_package_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-idempotent, non-destructive mutation. The description adds a meaningful behavioral detail beyond that: the package is 'marked used_up at zero', which explains the threshold side effect. It does not mention permissions, failure modes when credits are insufficient, or whether the used_up marker is reversible.

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?

The description is two short sentences and front-loads the core action. Every sentence contributes something, though the parenthetical '(default 1)' repeats schema metadata rather than adding new meaning.

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 simple two-parameter mutation with annotations and no output schema, the description covers the main action and threshold behavior. It is still incomplete around insufficient-credit handling, return value, and the required participant_package_id semantics.

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?

Schema coverage is 50%: count is already documented in the schema, and the description only repeats its default. participant_package_id is undocumented in the schema, but the description's phrase 'a participant's pass' gives a partial clue that it identifies the package being redeemed. It does not add format or syntax details for the required parameter.

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 credits from a participant's pass. It is clear enough to distinguish from purchase_package or create_class_package, though it does not explicitly name those siblings.

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?

There is no explicit when-to-use guidance, no prerequisites, and no named alternatives. The usage is only implied by the verb 'redeem', leaving the agent to infer when redemption rather than purchase or package creation is appropriate.

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