Skip to main content
Glama

pcbgen Fastroute KiCad PCB Autorouter

redeem_referral

Redeem a partner referral code (for example 'tscircuit' for $50 free Priority Credits) on your connected Bearer fr_... account. One referral bonus per account.

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_referral"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesReferral code (e.g. 'tscircuit').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a mutation tool. It does disclose the account binding and the one-bonus-per-account limit, but says nothing about what happens when the code is invalid, already redeemed, or when the account is ineligible, nor whether credits are applied immediately or whether the action 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with the action and target front-loaded and the account limit stated as a trailing constraint. Nothing is redundant or padded.

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 one-parameter tool with full schema coverage and no output schema, the description covers what it does and the once-per-account rule. The remaining gap is failure behavior for invalid or already-redeemed codes, which matters more here because there are no annotations to fall back on.

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?

There is a single parameter with 100% schema coverage, so the schema already documents it fully; the description only restates the example code and adds the bonus value context. This is the expected baseline when the schema does the work.

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?

States a specific verb and resource ('Redeem a partner referral code') and names the target ('your connected Bearer fr_... account'), so the agent knows exactly what action is being taken. It does not explicitly contrast itself with the nearest sibling, buy_credits, but the referral-code framing is distinctive enough to separate it.

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 must infer that this tool applies when the user has a partner referral code to apply. There is no explicit when-to-use/when-not guidance and no mention of buy_credits as the alternative for purchasing credits directly, though the 'one referral bonus per account' line hints at a precondition.

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