Skip to main content
Glama

Ta bort anläggningstillgång

delete_fixed_asset
DestructiveIdempotent

Ta bort en anläggningstillgång ur registret, t.ex. en felregistrering. Bara tillgångar utan bokföring: har den en bokförd anskaffning, avskrivning eller avyttring nekas det, eftersom huvudboken då inte längre skulle stämma mot registret. Avyttra eller utrangera den i stället (dispose_fixed_asset). Kräver behörigheten 'book'. Argument: orgnr, asset_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": "delete_fixed_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
asset_idYes

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

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavior: a server-side refusal rule tied to ledger consistency and the reason for it, plus an authorization requirement. It stops short of saying what the response looks like on refusal or whether the deletion is hard vs. soft, which keeps it from a 5.

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?

Four short sentences, front-loaded with the action, followed by the constraint, the alternative and the permission. Nothing is wasted; only the trailing argument list is redundant with the schema.

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?

For a destructive two-parameter tool with no output schema, the description covers the decision-relevant facts: eligibility, refusal semantics, the alternative tool and the permission. The remaining gap is the meaning and expected format of asset_id, which is left entirely to the schema and is not documented there.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: orgnr is well documented in the schema (10 digits, optional hyphen, example, 'hämta med list_companies'), but asset_id has no description anywhere. The description's closing 'Argument: orgnr, asset_id' merely repeats the parameter names and adds no meaning of its own, so it does not compensate for the undocumented asset_id on a destructive tool.

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?

The description states a specific verb and resource in the first clause: removing a fixed asset from the register, with an example ('felregistrering') of the legitimate case. It also distinguishes itself from the closest sibling by naming dispose_fixed_asset as the correct tool when the asset has bookkeeping.

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 gives an explicit when-to-use condition (assets without bokföring), an explicit when-not condition (a booked acquisition, depreciation or disposal causes a refusal), and names the alternative tool to use instead. The required permission 'book' is also stated up front, so the agent knows the prerequisite before calling.

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.