Skip to main content
Glama

Rewardful MCP by usefulapi

Update an affiliate

rewardful_update_affiliate
Destructive

Change an affiliate's name, email, payout emails, notifications, campaign (moves them) or state. Setting state to disabled stops tracking and earning; set it back to active to undo. Rewardful: PUT /v1/affiliates/:id.

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address.
stateNoAffiliate state. Disabled/suspicious affiliates stop tracking and earning and can't log in.
last_nameNoLast name.
first_nameNoFirst name.
wise_emailNoWise address commissions should be paid to.
campaign_idNoCampaign to put the affiliate in (default campaign if omitted on create).
affiliate_idYesThe affiliate's id (UUID).
paypal_emailNoPayPal address commissions should be paid to.
stripe_customer_idNoCustomer-referral programs only: the live-mode Stripe customer that receives account credits.
receive_new_commission_notificationsNoEmail the affiliate when they earn a commission (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true; the description goes further by explaining the concrete consequence of the destructive path (disabled stops tracking and earning) and that it is reversible by setting state back to active. It stops short of noting partial-update semantics (which omitted fields are preserved) or response shape.

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, front-loaded with the mutable field list, followed by the key behavioral caveat and an API mapping. No filler or repetition.

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 10-parameter mutation with one required field and no output schema, the description covers the important knobs (identity, payout emails, notifications, campaign, state) and the destructive consequence. It leaves stripe_customer_id unaddressed and doesn't state that omitted fields are untouched, but the essential calling information is present.

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 adds meaning beyond the schema by clarifying that changing campaign_id reassigns ('moves') the affiliate and by tying state values to their earning/tracking effect. It omits stripe_customer_id, but the added semantics on campaign and state justify the bump.

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 (change/update) and resource (affiliate) and enumerates the mutable fields, including the notable '(moves them)' note for campaign. The sibling set is dominated by create/get/list variants, so the update verb is easily separable, though no sibling is named explicitly.

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?

Offers context on the effect of setting state to disabled and how to undo it, which implicitly tells the agent when this tool matters, but gives no explicit when-to-use vs. get_affiliate or alternatives, nor any prerequisites or permission requirements.

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.