Skip to main content
Glama

Add an asset or a debt

add_asset
Destructive

Adds an asset or a debt to the customer's My Assets page. Call describe_asset_form for the fields and the module_state first. Confirm the values 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. For a bank account, a credit card, an investment, or a debt, when describe_asset_form gives plaid_connection_url (for example /prenup/my-assets/bank), offer two choices: the customer connects the account through Plaid in the app, or gives the account here for this tool. A Plaid connection in the app also restarts the alignment when module_state is edit_restarts_alignment, so get the same yes first. Never ask for the sign-in details of an account. 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": {
      "kind": "<kind>",
      "fields": "<fields>"
    },
    "name": "add_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesThe kind of asset or debt.
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.5/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=false) the description discloses concrete consequences the agent must surface: the alignment restarts, the partner may be emailed, a stale expected_module_state means nothing is saved and a new state is returned, and sign-in credentials must never be requested. This is exactly the mutation-risk context the annotations only gesture at.

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?

Purpose is stated first, followed by prerequisite, confirmation duty, conditional branching, and result reporting in a logical order. It is long and repeats the 'Tell the customer that...' construction several times, but each conditional carries distinct required behavior, so little is genuinely wasted.

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 write with a nested free-form fields object and an output schema, the description covers the prerequisite call, customer confirmation, Plaid alternative path, state-mismatch failure mode, and how to report alignment_restarted and partner_emailed. Nothing an agent needs to invoke 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 baseline is 3; the description earns above baseline by explaining how to source expected_module_state (read it from the list/describe tool of this module) and insisting it be sent even when open, which ties the parameter to the required describe-first workflow. The currency and positivity rules for fields largely restate the schema.

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 first sentence gives a specific verb and resource plus the destination surface: 'Adds an asset or a debt to the customer's My Assets page.' It is distinguishable from update_asset/delete_asset by the verb, but it never names those siblings, so the differentiation is implicit rather than stated.

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?

It routes the agent explicitly: call describe_asset_form for the fields and module_state first, confirm values with the customer before calling, and get an explicit yes when module_state is edit_restarts_alignment. It also branches the guidance for Plaid-connected account types and gives the two acceptable options, leaving little to inference.

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