Skip to main content
Glama

Change an asset or a debt

update_asset
Destructive

Changes the fields of one of the customer's own assets or debts. Take the id and the module_state from list_assets. Give only the fields that change. Confirm the change with the customer before you call this tool. When module_state is edit_restarts_alignment, also tell the customer that the change restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.

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>",
      "fields": "<fields>"
    },
    "name": "update_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id from the list tool. Only an own row of the customer.
fieldsYesThe values of the form, by the field keys of the describe tool. Give each currency amount in US dollars, with up to 2 decimals. The amount of a debt is positive.
expected_module_stateNoThe module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state.

Output Schema

NameRequiredDescriptionDefault
assetYes
statusYes
app_urlYes
partner_emailedYesTrue when the partner got an email that the alignment restarted.
alignment_restartedYesTrue when the write restarted the alignment of the couple.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructive/not-idempotent annotations, it discloses a real side effect an agent could not otherwise know: the write can restart the couple's alignment and can email the partner. It also supplies an ethical gate ('confirm before you call', 'get a yes') and a reporting rule for downstream flags (say nothing when false, aggregate across all writes in the conversation).

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 action, then preconditions, then conditional branches; each sentence is operational rather than filler. It runs long and the final sentences about asset/family/allocation writes and cross-conversation reporting range beyond this single tool, costing some tightness.

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?

For a destructive, non-idempotent mutation with a nested fields object and an output schema, it covers preconditions, concurrency handling, side effects, and how to consume the alignment_restarted and partner_emailed results. Nothing an agent needs to call it safely is missing.

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 the baseline is 3; the description still adds value by tying id to list_assets ('only an own row') and by emphasizing that expected_module_state must be sent even when the state is open — the non-obvious case most agents would skip. Currency formatting for fields is left to the schema.

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 with ownership scope: 'Changes the fields of one of the customer's own assets or debts.' The word 'fields' plus the id/'give only the fields that change' framing separates it from add_asset, delete_asset, and the describe/list siblings without needing to name them.

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

Usage Guidelines4/5

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

Gives a clear call sequence (take id and module_state from list_assets, confirm with the customer first) and a rich conditional branch for edit_restarts_alignment requiring an explicit 'yes'. It stops short of naming sibling alternatives such as add_asset or delete_asset, but the create/update/delete boundary is unambiguous from the verb.

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