Skip to main content
Glama

Hämta anläggningstillgång

get_fixed_asset
Read-onlyIdempotent

Hämtar en anläggningstillgång med avskrivningsplan och bokförda avskrivningar per i dag. Använd när du har tillgångens id; för alla tillgångar, använd list_fixed_assets, och för vad nästa avskrivning blir, använd preview_depreciation. Returnerar namn, typ och konton, anskaffningsdatum, nyttjandeperiod i månader, och i öre anskaffningsvärde, restvärde, månadsavskrivning, planenlig och faktiskt bokförd ackumulerad avskrivning, ej bokförd avskrivning och bokfört värde, samt ev. avyttring. Läser bara, ändrar inget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
asset_idYesTillgångens id (heltal), t.ex. 4. Hämta med list_fixed_assets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / asset_id / description
      Added value: +"Tillgångens id (heltal), t.ex. 4. Hämta med list_fixed_assets."
  2. 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."
  3. 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 readOnlyHint=true, destructiveHint=false and idempotentHint=true, so the safety profile is covered; the closing "Läser bara, ändrar inget" largely restates that. However, the detailed enumeration of what the response contains (avskrivningsplan, ackumulerade avskrivningar, bokfört värde, avyttring) is genuine behavioral context not available anywhere else, which lifts it above baseline.

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 purpose, then usage routing, then return contents, then a read-only note. The return-value enumeration is long but each field is informative for a tool with no output schema; there is little filler.

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?

With no output schema, the description compensates by spelling out the returned fields, which is the right call. Safety/idempotency are carried by annotations and parameters by the schema, so the remaining coverage gap is only pagination/edge-case behavior, which is minor for a single-resource getter.

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 description coverage is 100% and both parameters are fully documented there, including formats (10-digit orgnr, integer id) and where to fetch them. The description only implies the asset_id requirement, adding nothing the schema does not already state. Baseline 3 per the rule for high coverage.

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 ("Hämtar en anläggningstillgång") and disambiguates from the nearest siblings. An agent can distinguish this from list_fixed_assets and preview_depreciation purely from the description.

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?

Explicit trigger ("Använd när du har tillgångens id") plus named alternatives with the condition that selects each (list_fixed_assets for all assets, preview_depreciation for the next depreciation). Nothing is left 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