Skip to main content
Glama

Update affiliate

update_affiliate
Idempotent

Update a affiliate by id. Only the fields you pass are changed.

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": {
      "id": "<id>"
    },
    "name": "update_affiliate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesaffiliate id
bicNobic
ibanNoiban
nameNoname
emailNoemail
notesNonotes
phoneNophone
statusNostatus
tax_idNotax_id
companyNocompany
commission_rateNocommission_rate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the mutation/safety profile is covered. The description adds genuine value beyond that by disclosing partial-update (PATCH-like) semantics rather than replace semantics. It says nothing about permission requirements, side effects of changing status, or validation failures, which leaves meaningful behavioral gaps for a mutation tool.

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?

Two short, front-loaded sentences with no filler; the partial-update rule is placed where an agent will read it. Minor deduction for the grammatical slip ("a affiliate") and for being terse enough that important context is simply absent rather than efficiently compressed.

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 an 11-parameter mutation tool the core mechanics are covered: what it mutates, the id key, and that unspecified fields are preserved. With no output schema, the description does not say what comes back (the updated affiliate, or nothing) and does not mention behavior for a non-existent id, which are the remaining gaps.

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%, so the baseline is 3; the schema itself only repeats property names ("bic", "iban", "status") without real meaning. The description's partial-update clause does add meaning about how optional parameters behave when omitted, which slightly lifts it, but no individual field is explained and no enum-like values (e.g. valid status strings) are given despite status being an open string.

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?

The description states a specific verb and resource ("Update a affiliate by id") and the keying field, so an agent knows exactly what operation is performed. It does not name siblings such as create_affiliate or get_affiliate, but the update semantics are unambiguous on their own.

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?

"Only the fields you pass are changed" implies a partial-update use case over a full replace, which is useful implied guidance. However, there is no explicit statement of when to prefer this over create_affiliate or get_affiliate, no mention of prerequisites (the affiliate must exist), and no exclusions.

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