Skip to main content
Glama

Update Affiliate Partner Status

update_affiliate_partner_status
DestructiveIdempotent

Approve or reject a partner who applied to one of your affiliate programs. Set status to "active" to approve, or "rejected" to decline. Requires Builder tier or higher (merchant action).

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": {
      "program_id": "<program_id>",
      "partnership_id": "<partnership_id>",
      "status": "<status>"
    },
    "name": "update_affiliate_partner_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesNew status: "active" approves the partner, "rejected" declines them
program_idYesThe program ID the partner applied to
partnership_idYesThe partnership ID (partner application) to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, and idempotent behavior, so the baseline is low. The description meaningfully adds that this is a merchant-side action gated behind Builder tier or higher, which is real prerequisite information not encoded in annotations. It does not explain side effects of rejection (e.g. whether existing links/partnership data are removed), which would matter for a destructiveHint tool.

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 short sentences, front-loaded with the action, then the value mapping, then the prerequisite. No filler or redundancy.

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 three-parameter, annotation-covered mutation with no output schema, the description covers purpose, decision semantics, and the tier prerequisite. The remaining gap is outcome transparency: it does not say what a rejection does to existing partnership state or what the caller gets back, which is notable given destructiveHint=true.

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 description coverage is 100% and the status enum is documented inline, so the schema already carries essentially all parameter meaning. The description restates the status mapping but adds nothing about the program_id versus partnership_id distinction or where those IDs come from. 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 (approve or reject) applied to a specific resource (a partner who applied to an affiliate program), and immediately disambiguates it from program-level siblings like update_affiliate_program or list_affiliate_partners. An agent can tell what this does 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 clear when-to-use context (merchant reviewing a partner application) and maps each enum value to a real-world decision (approve vs decline). It also states a prerequisite (Builder tier or higher). It does not name an alternative tool or say when not to use this, which keeps it just short of a 5.

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