Skip to main content
Glama

Markera ROT/RUT-begäran inskickad

mark_rot_rut_request_submitted
DestructiveIdempotent

Markerar att en ROT/RUT-begäran har lämnats in till Skatteverket, eller tar bort markeringen. Använd efter att användaren själv har laddat ner filen i Kvickd (se check_rot_rut_request_file) och skickat in den; när Skatteverket har betalat ut, använd register_rot_rut_payout. Returnerar begäran med ny status och belopp. Bieffekt: bara en statusmarkering i Kvickd, inget skickas till Skatteverket. Kräver behörigheten reconcile.

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

Input Schema

NameRequiredDescriptionDefault
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
submittedNotrue för inskickad (standard), false för att ta bort markeringen.
request_idYesBegärans id (heltal), t.ex. 3. Hämta med list_rot_rut.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / request_id / description
      Added value: +"Begärans id (heltal), t.ex. 3. Hämta med list_rot_rut."
    • addedInput schema / properties / submitted / description
      Added value: +"true för inskickad (standard), false för att ta bort markeringen."
  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.6/5.0
Behavior5/5

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

Despite annotations already flagging destructiveHint, the description clarifies the true scope: it is only a status marking inside Kvickd and nothing is sent to Skatteverket, plus it states the required 'reconcile' permission and what is returned. This adds meaningful context beyond the annotation flags.

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-loads the core action, then prerequisites, alternative, return value, and side effect in a compact sequence. Slightly dense with many clauses, but every sentence carries useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers trigger, alternative, prerequisites, side effects, and the return shape despite there being no output schema. Nothing an agent needs to invoke it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents orgnr, submitted, and request_id fully, including the true/false toggle meaning. The description echoes the toggle at a high level but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 specific verb (mark/submitted) plus the resource (ROT/RUT request) and even covers the inverse operation (removing the marking). An agent can distinguish it from register_rot_rut_payout and check_rot_rut_request_file without opening any schema.

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

Usage Guidelines5/5

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

Explicitly says when to use it (after the user downloaded the file via check_rot_rut_request_file and submitted it) and names the alternative for a different situation (register_rot_rut_payout after payout). Both the trigger and the routing decision are spelled out.

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.