Skip to main content
Glama

Referral Rock MCP by usefulapi

Update a referral (status, amount, notes)

referralrock_update_referral
DestructiveIdempotent

WRITE: changes the status, amount or notes of an existing referral. Moving a referral to qualified or approved can trigger the program's configured rewards for the referring member (a financial commitment that may be paid out automatically), and denied stops them: confirm with the user first. Only the fields you pass are changed. The referral is found by id, or by external id / email plus program_id or program_name. POST /api/referral/update.

Input Schema

NameRequiredDescriptionDefault
noteNoNew private note.
emailNoThe referral's email address (needs program_id or program_name).
amountNoNew order amount / total (used for percentage rewards).
statusNoNew status.
confirmNoMust be true when status is qualified or approved, or amount is set: confirms rewards may be issued or changed.
program_idNoProgram id; needed together with external_id or email (or give program_name).
external_idNoThe referral's external identifier (needs program_id or program_name).
public_noteNoNew public note.
referral_idNoThe referral's id (preferred).
program_nameNoProgram name; needed together with external_id or email (or give program_id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations: discloses the reward side effect of qualified/approved, that denied halts rewards, that partial updates only touch passed fields, and the endpoint used. destructiveHint/idempotentHint are already declared, and the description adds the concrete financial consequence the agent must reason about.

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?

Three tight sentences front-loaded with the write marker and the highest-risk information (reward triggering and user confirmation) before lookup mechanics. No filler.

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?

Covers safety profile, side effects, partial-update semantics and record lookup for a 10-parameter mutation with no output schema. Minor gap: nothing about invalid status transitions or what the response confirms.

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 the baseline is 3. The description adds lookup semantics (referral_id preferred, or external_id/email paired with program_id/program_name) and the partial-update rule, but leaves per-field meaning (note vs public_note, amount for percentage rewards) entirely to the schema.

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 and resource ('changes the status, amount or notes of an existing referral') and leads with a 'WRITE:' marker that separates it from the read-oriented siblings (get_referral, list_referrals) and from create_referral.

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?

Explicitly warns that qualified/approved transitions can trigger payouts and instructs 'confirm with the user first', which is a real usage gate. It stops short of naming alternatives (e.g. use create_referral to make a new one), so it is clear context without full sibling routing.

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.