Skip to main content
Glama

Markera NE-bilagan inlämnad

mark_ne_submitted
DestructiveIdempotent

Markerar NE-bilagan som inlämnad (eller inte inlämnad) för ett år. Internt; ingen inlämning till Skatteverket sker. Bekräfta med användaren först. Scope statutory. Argument: orgnr, year, submitted (true eller false); valfritt confirm, som krävs för att markera 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>",
      "submitted": "<submitted>"
    },
    "name": "mark_ne_submitted"
  }
}

Input Schema

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

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 / submitted / default
      Removed value: -true
    • changedInput schema / required
      Previous value: -[
      -  "orgnr",
      -  "year"
      -]New value: +[
      +  "orgnr",
      +  "year",
      +  "submitted"
      +]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds non-obvious context: the flag is internal only and triggers no Skatteverket filing, and user confirmation is expected. It does not spell out what happens to a previously set value when toggling back, which is the main remaining behavioral 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?

Short, front-loaded sentences: purpose, then scope disclaimer, then confirmation rule, then arguments. 'Scope statutory' is terse jargon that adds little, and the argument list slightly duplicates the schema, but nothing else is wasted.

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 destructive mutation with no output schema, it covers the essentials — what it changes, that nothing leaves the system, the confirmation expectation, and the conditional confirm rule. A short note on what happens when unmarking a previously submitted year would make it fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 25% (only orgnr documented), the description carries the load by naming all arguments and explaining the non-obvious conditional rule: 'confirm' is optional but required to mark a year that has not yet ended. The accepted values for 'submitted' (true/false) are also stated explicitly.

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 concrete verb and resource ('Markerar NE-bilagan som inlämnad') plus the scope ('för ett år') and the toggle direction ('eller inte inlämnad'). The clarification 'Internt; ingen inlämning till Skatteverket sker' separates it from any real filing action, so an agent can tell what state change actually happens.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a workflow precondition ('Bekräfta med användaren först') and a scope note, which implies when to reach for it. It never states when *not* to use it or points to alternatives such as read_ne_bilaga or mark_submitted, so routing still depends on 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.