Skip to main content
Glama

Lista instruktioner

list_instructions
Read-onlyIdempotent

Listar bolagets instruktioner: regler som användaren sparat för hur bokföringen ska göras, t.ex. vilket konto en viss kostnad bokförs på. Läs och följ dem innan du bokför eller föreslår konteringar. Med orgnr returneras det som gäller bolaget (dess egna och kontots gemensamma), utan orgnr alla instruktioner du har åtkomst till. Returnerar per instruktion id, text, orgnr (null = alla bolag) och vilka bolag den gäller. Drar ingen credit. Läser bara, ändrar inget.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_instructions"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgnrNoValfritt: bolagets organisationsnummer, t.ex. 559900-1004, för det som gäller bolaget. Utelämna för alla bolag du har åtkomst till.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds useful behavioral context: it does not consume credit, it only reads, and it returns per-instruction id, text, orgnr, and applicable companies. It does not cover pagination, ordering, or rate limits, so it is strong but not exhaustive.

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 resource and purpose, then moves efficiently through usage instruction, filtering behavior, return fields, and safety/credit properties. Every sentence contributes useful information.

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?

With no output schema, the description appropriately explains the return fields and the orgnr filtering semantics. Annotations cover the safety profile and the single parameter is well documented. It could be slightly more complete with ordering or pagination behavior, but nothing critical is missing for correct invocation.

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?

Schema coverage is 100% and the schema already documents orgnr as optional with an example. The description adds meaning beyond the schema by clarifying that with orgnr the result includes the company's own instructions plus shared account-level instructions, and that without orgnr it returns all instructions the caller can access.

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 ('Listar bolagets instruktioner') and defines what an instruction is: user-saved bookkeeping rules, e.g. which account a cost is booked to. This is specific enough for an agent to distinguish it from sibling tools such as add_instruction, update_instruction, delete_instruction, and list_policies.

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

Usage Guidelines4/5

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

It gives clear usage guidance: read and follow the instructions before booking or proposing journal entries. It also explains the effect of passing or omitting orgnr. It does not explicitly state when not to use it or name alternatives, so it stops short of the top score.

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