Skip to main content
Glama

Update account

update_account

Update a chart-of-accounts LEDGER account by id, not a bank account; for a bank account, use update_bank_account. Changes its name, description, group or settings. See list_accounts for ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoAccount id to update (see list_accounts).
codeNoThe business's own account code (e.g. "4000"). Trimmed; an empty string clears it; omit to leave it unchanged.
iconNoIcon identifier for the account (UI display).
metaNoOpaque metadata string stored on the account.
nameNoAccount name (e.g. "Consulting income", "Rent").
roleNoSemantic reporting role: "tax" (income-tax expense), "taxprovision" (tax provision/liability), or "salestax" (VAT control account). Omit for an ordinary account.
groupNoGroup label the account is organised under in the chart of accounts.
hiddenNoWhether the account is hidden from the chart-of-accounts UI.
deletedNoSoft-delete flag; true hides the account from active use.
journalNoJournal number classifying the account; maps to a standard journal name (e.g. sales, purchases, general).
premiumNoWhether the account is a premium-plan-only account.
primaryNoWhether this is the primary account of its kind.
parentidNoId of the parent account this nests under in the chart-of-accounts tree.
defaultidNoNumeric id of the built-in/default account this custom account maps to.
baseaccountNoWhether this is a base/system account rather than a user-created one.
descriptionNoFree-text description of what the account is used for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / code
      Added value: +{
      +  "description": "The business's own account code (e.g. \"4000\"). Trimmed; an empty string clears it; omit to leave it unchanged.",
      +  "type": "string"
      +}
  2. Changed15 schema fields changed
    • addedInput schema / properties / baseaccount / description
      Added value: +"Whether this is a base/system account rather than a user-created one."
    • addedInput schema / properties / defaultid / description
      Added value: +"Numeric id of the built-in/default account this custom account maps to."
    • addedInput schema / properties / deleted / description
      Added value: +"Soft-delete flag; true hides the account from active use."
    • addedInput schema / properties / description / description
      Added value: +"Free-text description of what the account is used for."
    • addedInput schema / properties / group / description
      Added value: +"Group label the account is organised under in the chart of accounts."
    • addedInput schema / properties / hidden / description
      Added value: +"Whether the account is hidden from the chart-of-accounts UI."
    • addedInput schema / properties / icon / description
      Added value: +"Icon identifier for the account (UI display)."
    • addedInput schema / properties / id / description
      Added value: +"Account id to update (see list_accounts)."
    • addedInput schema / properties / journal / description
      Added value: +"Journal number classifying the account; maps to a standard journal name (e.g. sales, purchases, general)."
    • addedInput schema / properties / meta / description
      Added value: +"Opaque metadata string stored on the account."
    • addedInput schema / properties / name / description
      Added value: +"Account name (e.g. \"Consulting income\", \"Rent\")."
    • addedInput schema / properties / parentid / description
      Added value: +"Id of the parent account this nests under in the chart-of-accounts tree."
    • addedInput schema / properties / premium / description
      Added value: +"Whether the account is a premium-plan-only account."
    • addedInput schema / properties / primary / description
      Added value: +"Whether this is the primary account of its kind."
    • addedInput schema / properties / role / description
      Added value: +"Semantic reporting role: \"tax\" (income-tax expense), \"taxprovision\" (tax provision/liability), or \"salestax\" (VAT control account). Omit for an ordinary account."
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources