Skip to main content
Glama

Lista konton

list_accounts
Read-onlyIdempotent

Listar bolagets kontoplan, sorterad på kontonummer. Använd för att hitta rätt konto inför bokföring eller kontrollera ett kontos namn; för saldon, använd get_trial_balance. Returnerar per konto nummer, namn, typ, SRU-kod och momskod. Har bolaget ingen kontoplan ännu returneras BAS-grundkontoplanen (BAS 2026) som förslag (bas_forslag: true); ett BAS-konto läggs upp först när det bokförs. Konton som togs bort i BAS 2026 (t.ex. 1250, 1580) fungerar fortfarande i bolag som redan har dem. Läser bara, ändrar inget.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description was not required to prove safety — yet it still adds real behavior: the empty-company fallback to the BAS 2026 baseline chart flagged with bas_forslag: true, the rule that a BAS account is only materialized once booked, and the fact that accounts removed in BAS 2026 (e.g. 1250, 1580) keep working for companies that have them. That is exactly the kind of context an agent cannot get from structured fields.

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 purpose, then usage, then return shape, then edge cases — a sensible ordering with no filler. The closing sentence "Läser bara, ändrar inget" largely restates readOnlyHint, a small redundancy against an otherwise dense and efficient description.

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 single-parameter read tool with no output schema, the description still documents the returned fields, the empty-state fallback and its flag, and a migration caveat. An agent can call it and correctly interpret the response without further lookups.

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?

Only one parameter and schema coverage is 100%, so the schema already carries the full burden (10-digit orgnr format, example, and the pointer to list_companies). The description adds no further meaning about orgnr, which is the correct baseline-3 outcome when the schema does the work.

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 and resource ("Listar bolagets kontoplan") plus ordering (sorted by account number), and enumerates exactly what each row contains (nummer, namn, typ, SRU-kod, momskod). This is distinguishable at a glance from list_companies, list_vouchers, or get_trial_balance.

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?

Gives an explicit positive trigger ("hitta rätt konto inför bokföring eller kontrollera ett kontos namn") and an explicit alternative for the adjacent need ("för saldon, använd get_trial_balance"). Nothing about when to reach for this vs. a sibling is left to inference.

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.