Skip to main content
Glama

Referral Rock MCP by usefulapi

Update a member

referralrock_update_member
DestructiveIdempotent

WRITE: changes contact details of an existing member, or disables / re-enables the member (a disabled member can no longer take part in the programs). Only the fields you pass are changed. The member is found by id, referral code, or email / external id plus program_id or program_name; Referral Rock updates it only when it is uniquely identified. POST /api/members/update.

Input Schema

NameRequiredDescriptionDefault
emailNoThe member's current email address (needs program_id or program_name).
disabledNotrue disables the member, false re-enables.
member_idNoThe member's id (preferred).
new_emailNoNew email address.
new_phoneNoNew phone number.
program_idNoProgram id; needed together with email or external_id (or give program_name).
external_idNoThe member's current external identifier (needs program_id or program_name).
program_nameNoProgram name; needed together with email or external_id (or give program_id).
new_last_nameNoNew last name.
referral_codeNoThe member's referral code.
new_first_nameNoNew first name.
new_external_idNoNew external identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructive and idempotent; the description adds real context on top: only passed fields change (partial-update semantics) and the concrete effect of disabling (member can no longer participate in programs). It does not describe the failure mode when the member is not uniquely identified, nor what the response contains.

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 sentences, front-loaded with the WRITE marker and the capability, then update semantics, then identification rules. 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?

For a 12-parameter mutation tool with no required params and no output schema, the description covers mutation semantics and lookup requirements well. Gaps remain around ambiguous-match behavior and confirmation of what is returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 nevertheless synthesizes the identifier combinations into one rule (id, referral code, or email/external_id + program), which is more than restating individual field docs. It still leaves the current-vs-new field pairing (e.g., email vs new_email) 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?

Opens with a specific verb class ("WRITE") plus the resource and scope: changing contact details, or disabling/re-enabling a member. It is clearly separable from sibling create_member (creation) and update_referral (different resource).

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?

States the identifying conditions (id, referral code, or email/external id plus program_id/program_name) and that the member must be uniquely identified. It does not explicitly name create_member or list_members as alternatives for when the member does not yet exist or must be found first.

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.