Skip to main content
Glama

Spara uppgifter till NE-bilagan

set_ne_bilaga_inputs
DestructiveIdempotent

Sparar uppgifter till NE-bilagan (enskild firma) och returnerar blanketten på nytt. flags: verksamhetens_art (text), passiv, utanfor_ees, ej_forenklat, uppdragstagare (true/false). adjustments: belopp i hela kronor per ruta som fylls i (R13-R16, R18-R20, R22-R28, R30-R32, R34, R36-R41, R43-R46; nyckel 'R20+' och 'R20-' för medhjälpande make), null tar bort ett värde så att förslaget gäller. other: övriga uppgifter O1-O11. account_overrides: {konto: ruta} när ett konto ska redovisas i en annan ruta, null återställer. address: postnr, postort. flags.ej_forenklat=false betyder förenklat årsbokslut, null tar bort valet så att förvalet följer omsättningen (förenklat årsbokslut vid högst 3 miljoner kronor). nea: {enabled, andel (procent), R13-R16, R18-, R18+, R19-R21} när verksamheten redovisas separat på NEA. n7: {enabled, datum, arv, overlatare (bara organisationsnummer; ett personnummer skrivs in i appen), 1a-1g, 2, 3, 4} för övertagna fonder. Gissa aldrig belopp som användaren ska lämna, till exempel påförda egenavgifter (R41). Scope statutory. Argument: orgnr, year och de delar som ändras.

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

Input Schema

NameRequiredDescriptionDefault
n7No
neaNo
yearYes
flagsNo
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
otherNo
addressNo
adjustmentsNo
account_overridesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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, and the description adds real context beyond them: it states the form is returned refreshed, that null removes a value or resets an override, and that flags.ej_forenklat=null lets the default follow turnover (simplified accounts below 3 MSEK). Remaining gaps are that it never states prerequisites (e.g. a prepared bilaga) or the effect on the statutory submission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, and the inline labels (flags:, adjustments:, other:, account_overrides:, address:, nea:, n7:) give a usable scan structure. But it is one very dense run-on paragraph in compressed Swedish abbreviations with no line separation, making it slower to parse than its information content requires.

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 nine-parameter destructive statutory mutation with no output schema, the description covers the field semantics well but omits prerequisites, permissions, and the relationship to mark_ne_submitted or the prior prepare_bilaga step. It is workable, not complete.

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?

With schema coverage at only 11% (only orgnr documented), the description carries nearly the full burden and largely succeeds: it enumerates flags (verksamhetens_art, passiv, utanfor_ees, ej_forenklat, uppdragstagare), adjustments as whole kronor per box including the 'R20+'/'R20-' spouse keys, other as O1-O11, account_overrides as {konto: ruta}, address keys, and the nea and n7 sub-keys. Types and formats for the nested box fields remain underspecified.

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?

The description opens with a specific verb and resource: saving NE-bilaga (enskild firma) data and returning the form refreshed. The resource name itself separates it from sibling annex tools such as set_ink4_inputs and set_arsbokslut_inputs, but no sibling is named explicitly to remove ambiguity.

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?

Useful operational instructions are present: 'Argument: orgnr, year och de delar som ändras' describes partial updates, and 'Gissa aldrig belopp som användaren ska lämna' gives a clear prohibition. However, there is no explicit statement of when to prefer this over read_ne_bilaga, prepare_bilaga or set_arsbokslut_inputs, and 'Scope statutory' is too terse to serve as guidance.

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.

Resources