Skip to main content
Glama

Markera inlämnad

mark_submitted
DestructiveIdempotent

Markera en bokslutsleverabel som inlämnad/godkänd. INTERNT (ingen extern transmission till Skatteverket/Bolagsverket sker). Bekräfta med användaren först. Scope statutory. Argument: orgnr, year, kind (ARSREDOVISNING|INK2), status (NOT_SUBMITTED|SUBMITTED|APPROVED); valfritt note och 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>",
      "kind": "<kind>",
      "status": "<status>"
    },
    "name": "mark_submitted"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "title": "Confirm",
      +  "type": "boolean"
      +}
  2. 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."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, but the description usefully clarifies that the operation is internal with no external transmission to Skatteverket/Bolagsverket — an important detail the annotations cannot express. It also explains that confirm is required to mark a year that has not yet ended, adding real behavioral context. Return value and undo/reversal behavior remain undisclosed.

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?

Front-loaded with the action and its safety caveat, then the internal-scope note, then the argument list. Dense and largely waste-free, though the argument list is a comma-run rather than structured and the Swedish-language text sits alongside an English sibling set.

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 six-parameter destructive mutation with no output schema and thin schema coverage, the description covers scope, external-effect absence, confirmation requirement, and all argument values. Missing only error behavior and confirmation of what the tool returns after success.

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?

Schema description coverage is only 17% and no parameters carry enums, so the description carries the burden and does: it supplies the kind values (ARSREDOVISNING|INK2), the status values (NOT_SUBMITTED|SUBMITTED|APPROVED), marks note and confirm as optional, and explains what confirm gates. This is information absent from the schema itself.

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: marking a year-end deliverable (bokslutsleverabel) as submitted/approved. The kind values ARSREDOVISNING|INK2 scope it to annual-report/INK2 deliverables, which implicitly separates it from the ink4/NE/rot-rut siblings, though those siblings are never named as exclusions.

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?

'Bekräfta med användaren först' gives a real precondition, and 'Scope statutory' plus the internal-only note set context. But there is no explicit statement of when to pick this over mark_ink4_submitted, mark_ne_submitted or mark_arsbokslut_signed, leaving the agent to infer the boundary from the kind enum.

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.