Skip to main content
Glama

Markera årsbokslutet undertecknat

mark_arsbokslut_signed
DestructiveIdempotent

Markerar årsbokslutet som upprättat och undertecknat (eller ångrar). Internt; årsbokslutet lämnas inte in någonstans. Bekräfta med användaren först. Scope statutory. Argument: orgnr, year, signed (true eller false); valfritt confirm, som krävs för ett år som inte har tagit slut.

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>",
      "year": "<year>",
      "signed": "<signed>"
    },
    "name": "mark_arsbokslut_signed"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "title": "Confirm",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / signed / default
      Removed value: -true
    • changedInput schema / required
      Previous value: -[
      -  "orgnr",
      -  "year"
      -]New value: +[
      +  "orgnr",
      +  "year",
      +  "signed"
      +]
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description adds context the annotations cannot: that the destructive effect can be reversed by calling with signed=false, that nothing is externally submitted, and that user confirmation is required before invoking. It does not explain what state changes on the accounting side or what happens if the year is already signed.

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?

Compact and front-loaded: purpose first, then scope caveat, then safety instruction, then argument summary. Some phrasing is telegraphic ('Scope statutory'), but no sentence is padding.

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 destructive, non-read-only state-mutating tool with no output schema and only 25% parameter coverage, the description covers the essentials (confirmation requirement, reversibility, internal-only nature, conditional confirm parameter). It stops short of describing side effects on the fiscal year or error conditions, which an agent would want before invoking.

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 25%, so the description must carry weight, and it does enumerate the arguments (orgnr, year, signed true/false) and, importantly, explains that 'confirm' is optional in general but required for a year that has not yet ended. That conditional rule is not in the schema and adds genuine meaning. It still leaves 'year' and 'confirm' types/effects to inference beyond that one rule.

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?

States a specific verb+resource: marking the årsbokslut as prepared and signed, with an explicit undo mode ('eller ångrar'). This clearly separates true/false semantics of the operation. It does not explicitly contrast itself with siblings such as mark_submitted, but the resource scope is narrow enough that an agent can identify it.

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?

Gives real context: the operation is internal, the årsbokslut is not filed anywhere, and the agent should confirm with the user first. 'Scope statutory' constrains applicability. What is missing is a direct statement of when to prefer this over adjacent submission-marking tools, but the guidance present is clear and actionable.

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.