Skip to main content
Glama

Update Consumer

consumer_update
DestructiveIdempotent

Updates Consumer with your own account permissions, the same as the site. Without confirm it shows a preview and saves nothing.

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": "consumer_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
statusNo
confirmNoSaves the change. Omitted: shows a preview and saves nothing.
api_modeNo
currencyNo
vat_rateNo
b2b_notesNo
closed_atNo
account_idNo
vat_exemptNo
credit_termsNo
ui_config_idNo
last_topup_atNo
platform_tierNo
frozen_balanceNo
api_sandbox_keyNo
carrier_partnerNo
current_balanceNo
selling_enabledNo
api_key_requiredNoWrite-only. Never returned or echoed.
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.
unlimited_creditNo
auto_topup_amountNo
payout_kyc_statusNo
api_production_keyNo
api_sandbox_secretNoWrite-only. Never returned or echoed.
auto_topup_enabledNo
last_auto_topup_atNo
po_number_requiredNo
stripe_customer_idNo
revolut_customer_idNo
agreed_rate_sheet_idNo
api_sandbox_endpointNo
auto_topup_thresholdNo
api_production_secretNoWrite-only. Never returned or echoed.
low_balance_thresholdNo
payout_kyc_updated_atNo
platform_trial_ends_atNo
api_production_endpointNo
low_balance_alert_stageNo
platform_lifecycle_tierNo
topup_payment_method_idNo
allowed_negative_balanceNo
balance_ever_positive_atNo
credit_overdue_suspendedNo
credit_settlement_due_atNo
notification_preferencesNo
topup_notification_emailNo
consumer_reference_numberNo
low_balance_alert_balanceNo
low_balance_alert_sent_atNo
platform_trial_started_atNo
platform_trial_notified_atNo
credit_overdue_alert_sent_atNo
travel_readiness_notified_atNo
use_balance_for_subscriptionNo
credit_balance_negative_sinceNo
platform_trial_offer_claimed_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / consumer_user_id
      Added value: +{
      +  "description": "Act on this seat (own seat, account owner or admin, or staff). Same checks as the site.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the core risk profile is covered; the description adds the dry-run/preview default, which is genuinely useful behavior. However, 'the same as the site' defers to an external reference, and nothing is said about what a destructive update actually overwrites, whether partial payloads clear untouched fields, or how permission failures surface.

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 sentences with the mutation and the preview default front-loaded; nothing is padding. The phrase 'with your own account permissions, the same as the site' is slightly vague but does convey scope, so the compression is mostly earned.

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

Completeness2/5

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

For a destructive, 58-parameter mutation with no output schema, two sentences are far too thin — the agent has no basis for choosing which of the many nullable fields to send or what the response will contain. The definition is not wrong, just radically under-specified relative to the tool's surface area.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 58 parameters and only 10% schema description coverage, the description carries a heavy compensation burden and meets almost none of it. It only touches `confirm`, and even that merely repeats the schema's own description ('Saves the change. Omitted: shows a preview and saves nothing.'), saying nothing about `status`, `consumer_user_id`, the write-only secrets, or which fields are safe to send.

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 and resource ('Updates Consumer') and the permission scope under which the update occurs. It does not explicitly distinguish itself from siblings like consumer_get or consumer_list, but the verb/resource pair is unambiguous enough that an agent can tell it is a mutation tool on a single consumer.

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?

The description gives one concrete usage rule — without `confirm` you get a preview and nothing is saved — which is real guidance on how to stage the call. It offers no guidance on when to use this versus related update tools (account_update, consumeruser_update) or on the permission conditions under which it will fail, leaving the agent to infer them.

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.