Skip to main content
Glama
Pletopay MCP Server

Pletopay MCP Server

Official
by pletopay

Update a subaccount

update_subaccount
DestructiveIdempotent

Update a subaccount’s name, email, status, metadata, or payout bank details. Payout account changes run name enquiry and apply a cooldown before the new account is used.

Instructions

Update a subaccount.

Update a subaccount’s name, email, status or metadata. Changing the payout account (bank_code with account_number) re-runs name enquiry, and the new account is used only after a cooldown (settlement_account.usable_from) to protect against account takeover.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Input Schema

NameRequiredDescriptionDefault
idYesThe subaccount id (`sub_…`).
nameNo
emailNo
statusNo
metadataNo
bank_codeNoChange the payout account (a cooldown applies before it is used)
account_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety bar is partly met; the description goes further with non-obvious behavior — a payout-account change re-runs name enquiry and the new account is only used after a cooldown surfaced via `settlement_account.usable_from`, plus the irreversibility of live-mode changes. The one weak spot is the amount/destination confirmation line, which describes money movement rather than this tool's actual field mutations.

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?

Front-loaded with the purpose, then the payout-account caveat, then the risk warning — a sensible ordering that an agent can scan. The closing sentence about confirming the exact amount in kobo is inapplicable to this schema and reads as boilerplate that could be trimmed.

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 destructive, non-read-only mutation with no output schema, the description covers what an agent most needs: which fields are changes, the cooldown after a payout-account swap, and that live-mode effects are irreversible. It omits permission/auth requirements and has no return-shape note (there is no output schema), but the critical risk context 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?

With schema coverage at only 29%, the description must compensate, and it largely does: it names four of the parameters by purpose and explains that `bank_code` only makes sense paired with `account_number` and triggers re-verification. It still does not clarify `status` transitions or `metadata` merge/replace semantics, which are the remaining undocumented parameters.

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 ("Update a subaccount") and immediately enumerates the mutable surface — name, email, status, metadata, and the payout account pairing. That is enough to separate it from create_subaccount, get_subaccount, and list_subaccounts 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a precondition ("Before calling, confirm the exact amount (in kobo) and the destination with the user") and flags live-mode risk, which is real usage guidance. However, it names no alternative tool and gives no when-not-to-use condition, and the "exact amount (in kobo)" instruction does not map to any parameter on this tool, so the guidance is partly inapplicable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools