Skip to main content
Glama

Accept a referrer

build_referral_accept
Read-only

Record a referrer for this wallet in Panda's referral contract (PandaReferrals.accept): one small transaction, from the wallet being referred, before its first deposit. Permanent. From then on every reward fee this wallet is charged pays the referrer 1% of the fee in AERO, out of Panda's share. Returns unsigned transactions to sign in order (and as one EIP-5792 batch), simulated from the wallet, plus a sign_url for a human owner. Nothing is sent.

Input Schema

NameRequiredDescriptionDefault
walletYesThe wallet on Base that will sign (and that owns the positions).
referrerYesThe referrer: the ?ref= value of a Panda invite link (the referrer's wallet address), or a 6-character code from an older link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: explains the permanence, the 1% AERO reward mechanic, that the call originates from the referred wallet, that transactions are simulated and returned unsigned 'in order (and as one EIP-5792 batch)' with a sign_url, and that 'Nothing is sent.' The readOnlyHint=true annotation is fully consistent with this.

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?

Purpose is front-loaded, followed by timing, permanence, reward mechanic, and return shape in a logical order. It is dense and slightly run-on, but nearly every clause carries actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a build tool with no output schema, the description fully explains what is returned (ordered unsigned transactions, EIP-5792 batch, sign_url, simulation, nothing sent), so an agent has everything needed to call it correctly.

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 100%, so both parameters (wallet, referrer and its ?ref=/6-char-code formats) are already documented in the schema. The description adds the contextual constraint that the caller is the referred wallet but no new syntax detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Record a referrer for this wallet') and even names the contract method (PandaReferrals.accept). An agent can distinguish this from siblings like check_referral_eligibility or get_referral_link without opening the schema.

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?

Gives a clear triggering condition: it must happen 'before its first deposit' and is permanent. It does not explicitly name the alternative sibling tools or state when not to use it, so it stops short of the top band.

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