Skip to main content
Glama

Lista anställda

list_employees
Read-onlyIdempotent

Listar bolagets anställda. Använd för att hitta en anställds id inför run_payroll, calc_payroll, get_payslip eller upsert_employee; för tidrapporterade timmar, använd list_time_entries. Returnerar per anställd id, namn, personnummer maskerat till födelsedatum (ÅÅÅÅMMDD-XXXX) och om det är inlagt (has_personnummer), skattetabell och kolumn, månadslön och timlöner i öre, arbetsgivaravgift, semesterersättning och om den anställde är aktiv. Fullständiga personnummer visas aldrig här; användaren lägger in dem i Kvickd under Lön > Anställda. Läser bara, ändrar inget. Svaret innehåller personuppgifter; visa bara det användaren behöver.

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_employees"
  }
}

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 readOnlyHint and idempotentHint, but the description adds substantial context beyond them: it explains that full personal numbers are never returned, that they are masked to birth date plus XXXX, that users enter them in Kvickd under Lön > Anställda, and that the response contains PII which should be shown only as needed. That is meaningful behavioral and safety disclosure the annotations do not carry.

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?

The purpose and routing guidance are front-loaded, and the return-value and privacy notes are relevant given there is no output schema. The long inline enumeration of returned fields makes it dense and slightly run-on, 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?

There is no output schema, so the description appropriately covers what is returned, plus PII masking rules and handling guidance. Combined with the fully documented single parameter, nothing an agent needs in order to call or use the result 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?

There is only one parameter and schema description coverage is 100%; the schema already documents the orgnr format, the example, and that it can be fetched with list_companies. The description adds no parameter-level detail, so 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 and resource ('Listar bolagets anställda') and immediately distinguishes the tool from list_time_entries and routes to downstream payroll siblings. An agent can identify what the tool does and where it fits without opening the 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 to use it to find an employee id before run_payroll, calc_payroll, get_payslip or upsert_employee, and explicitly redirects time-tracking lookups to list_time_entries. Both the when and the when-not are named with the alternative.

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.