Skip to main content
Glama

AssetLab

Update asset betterment

update_asset_betterment
DestructiveIdempotent

Update a betterment by ID. The asset it belongs to cannot be changed - delete and re-create to move one. The row must still add either capital or life after the update. Requires asset_betterments:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesBetterment ID
descriptionNoWhat was actually done
occurred_onNoDate the work went into service, YYYY-MM-DD
added_life_yearsNoExtra service life the work bought, in years
capitalized_amountNoAmount added to the asset value

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real context beyond them: the parent asset is immutable, the row must retain capital-or-life, and a required asset_betterments:write scope.

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?

Three tight sentences, front-loaded with the core action, then constraints, then auth. Every sentence carries distinct value with no redundancy.

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?

No output schema exists, but for an update tool the description covers mutation semantics, immutability, invariants, and required scope. It doesn't describe error behavior for invariant violations, which is the only notable gap.

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?

Schema coverage is 100%, so all five parameters are documented in the schema itself, making 3 the baseline. The description adds the business invariant about capitalized_amount/added_life_years but no syntax or format detail beyond 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?

States a specific verb+resource ('Update a betterment by ID'), which clearly distinguishes it from get/list/create for the same resource. It doesn't explicitly name sibling tools like delete_asset_betterment, but the update intent is unambiguous.

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 concrete when/when-not rule for reparenting: the asset cannot be changed, so delete and re-create instead. It also states the post-update invariant (must still add capital or life). No explicit alternative tool is named, but the guidance is actionable.

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