Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Personalkostnader

get_personnel_costs
Read-onlyIdempotent

Personnel costs: salaries, pensions and social security contributions per month and account group. Use when the person asks what the staff cost and how it splits between salaries, contributions and pensions. Example question: "Vad kostade personalen i år, och hur fördelar det sig på löner, avgifter och pensioner?" Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, https://api.fortnox.se/apidocs).

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": "get_personnel_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoÅÅÅÅ-MM-DD för att välja räkenskapsår Date as YYYY-MM-DD unless the text allows more.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"ÅÅÅÅ-MM-DD för att välja räkenskapsår"New value: +"ÅÅÅÅ-MM-DD för att välja räkenskapsår Date as YYYY-MM-DD unless the text allows more."
  2. Added

TDQS

A4/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, so safety is covered; the description adds real value beyond that by stating the figures are computed server-side from live Fortnox data across all pages, which tells the agent there is no pagination handling and no client-side aggregation needed. It does not discuss latency, caching or how missing accounts are treated, which keeps it short of a 5.

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?

Three tightly packed sentences plus a worked example, front-loaded with the resource definition before usage and provenance. The Swedish example question is long but demonstrates the exact phrasing pattern the tool targets, so it earns its place; the trailing API URL is marginal but brief.

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-optional-parameter read tool with an output schema and full annotation coverage, the description supplies everything needed: what is returned, at what granularity, when to call it, and that the server handles all pages of live data. Return-value structure is correctly delegated to the output schema.

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% for the single optional 'date' parameter, so the schema already explains the YYYY-MM-DD format and fiscal-year selection. The description adds nothing about the parameter, which is acceptable given the coverage but earns only the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise resource statement ('Personnel costs: salaries, pensions and social security contributions') and adds both granularity ('per month and account group') and the breakdown dimensions, so an agent immediately knows what the tool returns. It never names a sibling tool, so differentiation from get_profit_and_loss or get_management_report is left to scope inference rather than explicit routing.

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?

'Use when the person asks what the staff cost and how it splits between salaries, contributions and pensions' gives a clear triggering condition, reinforced by a concrete example question. It provides no exclusion guidance or named alternatives, so the agent must still infer that broader P&L questions belong elsewhere.

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