Skip to main content
Glama

Markera INK4 inlämnad

mark_ink4_submitted
DestructiveIdempotent

Markerar INK4 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_ink4_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.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the bar is lower, but the description still adds value: it clarifies the flag is internal only and never reaches Skatteverket, mandates user confirmation, and explains that the optional confirm argument is required when marking a year that has not yet ended. What it does not state is reversibility or the effect of overwriting an existing mark.

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 sentence order is well front-loaded: what it does, then the important caveat that nothing is filed, then the confirmation requirement, then the argument list. A few clauses could be tightened, but nothing is padding.

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, idempotent mutation with no output schema and four parameters, the definition covers the essentials an agent needs: internal-only effect, user confirmation, and the conditional requirement on confirm. Minor gaps remain around what the call returns and what happens when an existing mark is overwritten.

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 25%, with orgnr the sole documented parameter, so the description must compensate and largely does: it enumerates all four arguments and, critically, gives semantics for confirm that the schema leaves bare ('krävs för att markera ett år som inte har tagit slut') and clarifies submitted accepts true or false. The year parameter's accepted range and format remain unstated.

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?

The description states a specific verb and resource ('Markerar INK4 som inlämnad (eller inte inlämnad) för ett år') and explicitly disambiguates the semantics of 'submitted' by clarifying 'Internt; ingen inlämning till Skatteverket sker'. That clause alone separates it from a real filing action and from read-only siblings like read_ink4.

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?

It provides a real procedural rule, 'Bekräfta med användaren först', which tells the agent to obtain user confirmation before calling. However, it never names an alternative tool (e.g. read_ink4 to check current status, set_ink4_inputs to supply figures) or states when not to use it, so the agent must infer routing from sibling names.

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.