Skip to main content
Glama

Spara hela årsredovisningsutkastet

edit_annual_report_draft
Idempotent

Sparar hela utkastet till årsredovisningen för ett räkenskapsår, som när årsredovisningsguiden autosparar: resultat- och balansräkning, noter, förvaltningsberättelse och undertecknare. Använd bara när du har hela utkastet, t.ex. hämtat med read_annual_report_draft och ändrat; för att ändra enstaka uppgifter, använd set_arsredovisning_inputs, som skriver en delmängd och returnerar vad som återstår. Returnerar ok och när utkastet sparades. Bieffekt: det sparade utkastet ersätts med payload; postnummer och postort för INK2 behålls från det tidigare utkastet. Kräver behörigheten statutory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesRäkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025).
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
payloadYesHela utkastet i samma form som payload i read_annual_report_draft, med belopp i hela kronor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / payload / description
      Added value: +"Hela utkastet i samma form som payload i read_annual_report_draft, med belopp i hela kronor."
    • addedInput schema / properties / year / description
      Added value: +"Räkenskapsåret, angivet som året då räkenskapsåret slutar, t.ex. 2025 (för 2024-07-01 till 2025-06-30 anges 2025)."
  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.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the destructive-replacement semantics ('det sparade utkastet ersätts med payload'), a non-obvious partial-retention rule (INK2 postnummer/postort retained from the previous draft), the return ('ok och när utkastet sparades') and an auth requirement ('Kräver behörigheten statutory'). These are exactly the behaviors an agent must know before calling a whole-document overwrite.

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?

Everything is front-loaded — save scope first, usage rule second, return/side effects/permission after — and each clause carries distinct information. It is dense as a single paragraph, but there is little that could be cut without losing a decision-relevant fact.

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?

No output schema exists, yet the description covers the return value ('ok och när utkastet sparades'), the overwrite/replacement behavior, the partial-retention exception, the required permission, and the companion read/write siblings. Nothing an agent needs to invoke this correctly 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 the baseline is 3; the description adds real meaning on top by clarifying that payload is the entire draft (not a patch) written as a full replacement, and that only the INK2 address fields survive from the prior draft. It does not add formatting detail beyond the schema, so it stops short of 5.

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?

Specific verb+resource+scope: 'Sparar hela utkastet till årsredovisningen för ett räkenskapsår' (saves the whole annual report draft for a fiscal year), and it enumerates the contents (resultat- och balansräkning, noter, förvaltningsberättelse, undertecknare). It explicitly distinguishes itself from siblings read_annual_report_draft and set_arsredovisning_inputs, so an agent can route without opening any schema.

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?

Gives an explicit when: 'Använd bara när du har hela utkastet'. Gives an explicit when-not plus the alternative: 'för att ändra enstaka uppgifter, använd set_arsredovisning_inputs, som skriver en delmängd och returnerar vad som återstår'. The selection rule is fully spelled out.

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