Skip to main content
Glama

Markera kopplingsdata som hanterad

resolve_integration_records
DestructiveIdempotent

Markerar poster från en koppling som hanterade (bokförda), ignorerade (ska inte bokföras, t.ex. dubbletter) eller som nya igen (ångra). Använd efter att du bokfört posterna med de vanliga verktygen, och ange då verifikatens id så att posten pekar på bokföringen; för att läsa posterna, använd list_integration_data. Bokför ingenting själv. Returnerar posterna med ny status. Bieffekt: posterna flyttas från ohanterade och flaggas inte längre. Kräver behörigheten book.

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>",
      "record_ids": "<record_ids>",
      "status": "<status>"
    },
    "name": "resolve_integration_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoValfritt: kort anteckning, t.ex. varför posten ignoreras.
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.
statusYeshandled (bokförd eller hanterad), ignored (ska inte bokföras) eller new (ångra).
record_idsYesPostens eller posternas id, t.ex. [42, 43]. Högst 500 per anrop.
voucher_idsNoValfritt: id för verifikaten som bokför posterna, t.ex. [118]. Kontrolleras mot bolagets huvudbok.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds important behavior beyond annotations: the records are moved from unhandled and no longer flagged, the tool requires the 'book' permission, and it returns records with the new status. This complements the destructive/idempotent annotations without contradicting them.

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

Conciseness5/5

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

The description is front-loaded with the core action and statuses, then gives workflow guidance, a reading alternative, side effects, and permissions. Every sentence contributes useful information without unnecessary repetition.

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?

For a mutation tool with annotations and full schema coverage but no output schema, the description is complete: it covers purpose, workflow, side effects, permissions, return behavior, and the correct alternative for reading.

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 description coverage is 100%, so the parameters are already well documented. The description reinforces the status meanings and voucher-id purpose, but it does not add much parameter-level detail beyond what the schema already provides, including for note and orgnr.

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: it marks integration records as handled, ignored, or new again. It clearly distinguishes this from reading records by naming list_integration_data and explains the resulting statuses.

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?

It explicitly says when to use it: after booking the records with the regular tools, providing voucher ids so the record points to the booking. It also names the alternative for reading records, list_integration_data, and warns not to book anything itself.

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.