Skip to main content
Glama

Ändra anläggningstillgång

update_fixed_asset
DestructiveIdempotent

Ändra en anläggningstillgång. Kräver behörigheten 'book'. Argument: orgnr, asset_id; valfritt name, acquired (YYYY-MM-DD), cost_ore, useful_life_months, residual_ore, gl_account (1000-1299), accum_depr_account (samma grupp, slutar på 9), depr_expense_account (7800-7899), asset_type, notes, depreciation_start (YYYY-MM-DD), opening_accumulated_ore, document_id.

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": {
      "orgnr": "<orgnr>",
      "asset_id": "<asset_id>"
    },
    "name": "update_fixed_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
notesNo
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
acquiredNo
asset_idYes
cost_oreNo
asset_typeNo
gl_accountNo
document_idNo
residual_oreNo
accum_depr_accountNo
depreciation_startNo
useful_life_monthsNo
depr_expense_accountNo
opening_accumulated_oreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / orgnr / description
      Added value: +"Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the risk profile is covered; the description adds the non-obvious authorization requirement 'book'. It omits what happens to omitted optional fields (leave unchanged vs null out) and whether changing cost/life recomputes depreciation, which matters for a destructive mutation.

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 verb and purpose in the first clause, followed by permission and arguments in one compact block with no filler. Slight redundancy repeating schema property titles, but justified by the very low schema description coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter destructive mutation with no output schema, the enumeration of arguments plus key constraints is a reasonable minimum. Missing are partial-update semantics, any downstream effects (depreciation recalculation, opening_accumulated_ore interaction) and what the response confirms.

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 only 7%, so the description carries real weight, and it does add value for four parameters: date formats (YYYY-MM-DD) and account-range constraints for gl_account (1000-1299), accum_depr_account (same group, ends in 9) and depr_expense_account (7800-7899). The remaining eleven parameters, including units for cost_ore/residual_ore/opening_accumulated_ore and meanings of asset_type and document_id, are only bare names.

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?

Specific verb plus resource ('Ändra en anläggningstillgång') that cleanly separates it from create_fixed_asset, delete_fixed_asset, dispose_fixed_asset and get_fixed_asset. It does not explicitly name those siblings, but the verb alone disambiguates the operation.

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?

States a concrete prerequisite (requires the 'book' permission), which is useful context for when the call will succeed. However, it gives no guidance on when to prefer this over create_fixed_asset/dispose_fixed_asset, nor any note that it is a partial update rather than a full replace.

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.