Skip to main content
Glama

Kvittera årsavslutssteg

skip_year_end_step
Idempotent

Kvittera ett årsavslutssteg som ej aktuellt (hoppa över, utan verifikat) — t.ex. inga periodiseringar eller belopp 0. Kvitteras aktuell_skatt låses skatteberäkningen för året, som när den bokförs; den låses upp under Skatt och deklaration. Året måste finnas bland bolagets räkenskapsår. Kräver scope book. Argument: orgnr, year (slutåret), step (periodiseringar|dispositioner|aktuell_skatt|arets_resultat).

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>",
      "step": "<step>"
    },
    "name": "skip_year_end_step"
  }
}

Input Schema

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

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/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: skipping aktuell_skatt locks the year's tax calculation just like booking it, and the lock is released under Skatt och deklaration. It also discloses the 'book' scope requirement. It does not say whether the skip itself can be reverted via undo_year_end_step or what happens if the step was already booked, which is the one notable gap.

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?

Dense but front-loaded: the action and its 'without voucher' nature come first, then side effects, then prerequisites and arguments. No filler sentences, though the run-on paragraph structure makes the argument list easy to miss.

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 mutation tool with no output schema, it covers the essential edges: the tax-lock side effect, the fiscal-year prerequisite, and the scope. Missing is error behavior (already-booked step, invalid step value) and reversibility, which would complete the picture.

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 only 33% and the step parameter has no enum, so the description does the heavy lifting: it enumerates the four accepted values (periodiseringar|dispositioner|aktuell_skatt|arets_resultat) and clarifies that year means the closing year (slutåret). It does not explain what each step value means, but the coverage gap is largely closed.

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 and resource ('Kvittera ett årsavslutssteg') and clarifies the semantics with '(hoppa över, utan verifikat)' — the step is marked as not applicable rather than booked. That implicitly separates it from book_year_end_step, but no sibling is named explicitly.

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 a clear trigger condition: use it when a step is not applicable, e.g. no accruals exist or the amount is 0. It also states a prerequisite (the fiscal year must exist for the company) and the required scope, though it never explicitly says when to prefer book_year_end_step or undo_year_end_step instead.

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.