Skip to main content
Glama

Update asset

update_asset

Update a fixed asset by id — its name, value, purchase date or depreciation settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoAsset id. Required on update; omit on create.
nameNoName of the asset (e.g. "Delivery van").
notesNoFree-text notes about the asset.
amountNo(Deprecated) legacy purchase value; the asset's cost now derives from its linked expense/transaction, so this is ignored.
incomeNoId of an income record linked to this asset (e.g. proceeds from its disposal).
unlinkNo(Legacy) id of a linked transaction to detach from the asset; prefer the dedicated unlink asset-transaction endpoint.
expenseNoId of the expense record that recorded the asset's purchase (its cost basis).
disposedNoWhether the asset has been disposed of (sold or retired).
accountidNoChart-of-accounts account id categorising this asset (see list_accounts).
usefullifeNoUseful life of the asset in years.
transactionNo(Legacy) id of a bank transaction to associate with the asset; asset↔transaction links are normally managed via the dedicated link/unlink asset-transaction endpoints.
depreciationNoWhether this asset depreciates over time.
disposeddateNoDate the asset was disposed (ISO 8601); defaults to now when :disposed is set without a date.
baseaccountidNoChart-of-accounts account id for the asset's accumulated-depreciation / base account (see list_accounts).
depreciationrateNoAnnual depreciation rate as a decimal fraction (e.g. 0.2 = 20% per year); used by the diminishing-balance method.
depreciationtypeNoDepreciation method: a string containing "straight" (straight-line), "diminish" (reducing/diminishing balance), or "fifty" (50/30/20 wear-and-tear).
depreciationstartNoDate depreciation starts (ISO 8601).
usedefaultdepreciationNoWhether to use the business/category default depreciation settings instead of the values on this asset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / transaction / description
      Added value: +"(Legacy) id of a bank transaction to associate with the asset; asset↔transaction links are normally managed via the dedicated link/unlink asset-transaction endpoints."
    • addedInput schema / properties / unlink / description
      Added value: +"(Legacy) id of a linked transaction to detach from the asset; prefer the dedicated unlink asset-transaction endpoint."
  2. Changed16 schema fields changed
    • addedInput schema / properties / accountid / description
      Added value: +"Chart-of-accounts account id categorising this asset (see list_accounts)."
    • addedInput schema / properties / amount / description
      Added value: +"(Deprecated) legacy purchase value; the asset's cost now derives from its linked expense/transaction, so this is ignored."
    • addedInput schema / properties / baseaccountid / description
      Added value: +"Chart-of-accounts account id for the asset's accumulated-depreciation / base account (see list_accounts)."
    • addedInput schema / properties / depreciation / description
      Added value: +"Whether this asset depreciates over time."
    • addedInput schema / properties / depreciationrate / description
      Added value: +"Annual depreciation rate as a decimal fraction (e.g. 0.2 = 20% per year); used by the diminishing-balance method."
    • addedInput schema / properties / depreciationstart / description
      Added value: +"Date depreciation starts (ISO 8601)."
    • addedInput schema / properties / depreciationtype / description
      Added value: +"Depreciation method: a string containing \"straight\" (straight-line), \"diminish\" (reducing/diminishing balance), or \"fifty\" (50/30/20 wear-and-tear)."
    • addedInput schema / properties / disposed / description
      Added value: +"Whether the asset has been disposed of (sold or retired)."
    • addedInput schema / properties / disposeddate / description
      Added value: +"Date the asset was disposed (ISO 8601); defaults to now when :disposed is set without a date."
    • addedInput schema / properties / expense / description
      Added value: +"Id of the expense record that recorded the asset's purchase (its cost basis)."
    • addedInput schema / properties / id / description
      Added value: +"Asset id. Required on update; omit on create."
    • addedInput schema / properties / income / description
      Added value: +"Id of an income record linked to this asset (e.g. proceeds from its disposal)."
    • addedInput schema / properties / name / description
      Added value: +"Name of the asset (e.g. \"Delivery van\")."
    • addedInput schema / properties / notes / description
      Added value: +"Free-text notes about the asset."
    • addedInput schema / properties / usedefaultdepreciation / description
      Added value: +"Whether to use the business/category default depreciation settings instead of the values on this asset."
    • addedInput schema / properties / usefullife / description
      Added value: +"Useful life of the asset in years."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations correctly indicate a non-read-only, non-destructive update, and the description matches. No hidden side effects such as depreciation recalculation or disposal implications are disclosed, but there is no contradiction with the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no redundant wording. It lightly expands the title without introducing unnecessary detail.

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?

With a rich schema covering all parameters, the description is sufficient for identifying the update operation. It does not mention return values, but the lack of an output schema lowers that requirement, and the schema fills most contextual 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?

The schema covers 100% of parameters with detailed individual descriptions, so the description adds little beyond broad category labels. The baseline of 3 applies because the schema already supplies the needed parameter semantics.

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 clearly identifies the action (update), the resource (fixed asset), and the scope (by id, with fields like name, value, and depreciation settings). It distinguishes the tool from create_asset and other update_* siblings, though 'purchase date' is mentioned without a matching schema parameter.

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 implies an existing asset by id but does not explicitly state when to prefer this over create_asset or the dedicated link/unlink asset-transaction endpoints. It provides no alternative-tool guidance or exclusionary conditions, leaving usage context only partially conveyed.

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