Skip to main content
Glama

Ange om det är första årsredovisningen

set_first_annual_report
DestructiveIdempotent

Svarar på frågan i steg 1 om det är bolagets första årsredovisning.

true visar inga jämförelsetal och sätter föregående års belopp i resultat- och balansräkningen till 0 (de kommer inte tillbaka med false). false visar föregående år; då behövs föregående räkenskapsårs datum. Fråga användaren innan du svarar.

Returnerar snapshot efteråt.

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": {
      "draft_id": "<draft_id>",
      "is_first": "<is_first>"
    },
    "name": "set_first_annual_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesUtkastets id (draft_id), t.ex. från list_drafts. Utkastet måste tillhöra det anslutna kontot.
is_firstYestrue om det är bolagets första årsredovisning (första räkenskapsåret), annars false. "ja" och "nej" godtas också.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / is_first / description
      Previous value: -"true om det är bolagets första årsredovisning (första räkenskapsåret), annars false."New value: +"true om det är bolagets första årsredovisning (första räkenskapsåret), annars false. \"ja\" och \"nej\" godtas också."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the crucial detail of what is destroyed: true zeroes prior-year amounts in the income and balance sheet and states they will not return with false. It also mentions a snapshot is returned afterwards. This is valuable beyond the annotations.

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?

The text is front-loaded with the purpose, then the true/false effects, then the user-consultation instruction. It is dense but every sentence carries information; the parenthetical about values not returning is slightly awkward but purposeful.

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 two-parameter mutation with no output schema, the description covers purpose, both boolean outcomes, the irreversibility warning, the user-confirmation requirement, and the return value ('snapshot'). It is essentially complete, though it omits error or permission conditions.

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 the baseline is 3. The description does explain the consequences of the is_first boolean (no comparatives vs. previous-year figures), but it does not document draft_id or add syntax 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?

The description names a specific action (answer the step-1 question about whether this is the company's first annual report) and ties it to a concrete workflow position. It does not explicitly distinguish itself from siblings like preview_report, but the operation 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?

It gives an explicit prerequisite: 'Fråga användaren innan du svarar' (ask the user before answering). It also notes that false requires the previous fiscal year's dates. It does not name alternatives or when-not conditions, so it falls short of a 5.

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.