Skip to main content
Glama

Add or change one extra payment account

save_payment_account
Destructive

Only if some branches are paid into a different account than the main payment details (account 1, set with update_settings paymentDetails). Add an account, or change one by its id from get_overview brands[].profile.payeeGroups; then point branches at it with save_branch payeeGroup. Up to 12.

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": {
      "text": "<text>"
    },
    "name": "save_payment_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe account's id, to change it; leave out to add one.
nameNoA label only the team sees, up to 40 characters.
textYesHow to pay this account, in the business's words, up to 1,000 characters.
brandNoWhich assistant (its slug from get_overview `brands[].slug`). Leave out when the business has one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation risk is covered structurally. The description adds genuine context beyond that: a hard cap of 12 accounts and the fact that changing an entry is keyed by an existing id rather than creating a new one. It stops short of saying what happens to branches already pointing at an account that is modified.

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 sentences, front-loaded with the gating precondition before the mechanics. Dense with cross-references and backticked paths, but every clause carries information; the trailing 'Up to 12' is terse but earns its place as a hard limit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters at full schema coverage, annotations covering safety, and no output schema to explain, the description supplies everything else an agent needs: the precondition, the id source, the downstream wiring step, and the count ceiling.

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 baseline is 3, but the description adds provenance the schema lacks: the id originates from get_overview `brands[].profile.payeeGroups`, and the account is consumed downstream via save_branch payeeGroup. That linkage is real value beyond the per-field descriptions.

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 ('Add an account, or change one by its id') and immediately scopes it against the sibling that handles the primary account ('account 1, set with update_settings paymentDetails'). An agent can distinguish this from update_settings and remove_payment_account without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Opens with an explicit precondition ('Only if some branches are paid into a different account than the main payment details'), names the tool that handles the excluded case (update_settings paymentDetails), and gives the follow-up step (save_branch payeeGroup). When-to-use, when-not-to-use, and alternatives are all present.

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