Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Periodiseringar

check_accruals
Read-onlyIdempotent

Periodiseringar: planerade periodiseringar, om de bokförs, och stora fakturor på förskottskonton som saknar en. Example question: "Har vi periodiserat det som ska periodiseras? Bokförs periodiseringarna?" Computed on the server from live Fortnox data (Fortnox API, https://api.fortnox.se/apidocs), over all pages.

Input Schema

NameRequiredDescriptionDefault
periodNoen månad (2026-03), ett kvartal (2026-Q3) eller ett år (2026), i stället för fromdate/todate YYYY-MM, YYYY-Qn or YYYY.
todateNoÅÅÅÅ-MM-DD: bara periodiseringar för fakturor med fakturadatum till och med den dagen Date as YYYY-MM-DD unless the text allows more.
fromdateNoÅÅÅÅ-MM-DD: bara periodiseringar för fakturor med fakturadatum från och med den dagen Date as YYYY-MM-DD unless the text allows more.
stort_beloppNoradbelopp i kr (utan moms) som räknas som stort på ett förskottskonto (standard 10000) Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / fromdate
      Added value: +{
      +  "description": "ÅÅÅÅ-MM-DD: bara periodiseringar för fakturor med fakturadatum från och med den dagen Date as YYYY-MM-DD unless the text allows more.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
    • addedInput schema / properties / period
      Added value: +{
      +  "description": "en månad (2026-03), ett kvartal (2026-Q3) eller ett år (2026), i stället för fromdate/todate YYYY-MM, YYYY-Qn or YYYY.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
    • addedInput schema / properties / todate
      Added value: +{
      +  "description": "ÅÅÅÅ-MM-DD: bara periodiseringar för fakturor med fakturadatum till och med den dagen Date as YYYY-MM-DD unless the text allows more.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / stort_belopp / description
      Previous value: -"radbelopp i kr (utan moms) som räknas som stort på ett förskottskonto (standard 10000)"New value: +"radbelopp i kr (utan moms) som räknas som stort på ett förskottskonto (standard 10000) Number."
    • changedInput schema / properties / stort_belopp / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety burden is covered. The description adds real context beyond that: results are computed server-side from live Fortnox data and span all pages, telling the agent there is no pagination to manage and the figures are current.

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 compact sentences: scope first, an example question second, provenance last. Each sentence earns its place, and the resource name is front-loaded; only the somewhat telegraphic middle clause costs it a point.

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?

With full schema coverage, an output schema present, and rich annotations, everything an agent needs is covered; the description supplies the one thing structured fields cannot — what business question the tool answers and that data is live across all pages.

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 schema already documents period, fromdate, todate and stort_belopp (including the 10,000 kr default). The description adds nothing further about these parameters, which is acceptable given the schema quality but is the baseline rather than added value.

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 names the resource (periodiseringar/accruals) and spells out the three things checked: planned accruals, whether they are booked, and large invoices on advance-payment accounts that lack one. This is a specific check rather than a restatement of the name, though the compressed Swedish phrasing makes it slightly harder to parse at a glance.

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

Usage Guidelines3/5

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

The embedded example question ("Har vi periodiserat det som ska periodiseras? Bokförs periodiseringarna?") implies the user intent this tool answers, which is genuine usage signal. However, no alternatives or exclusions are named, so an agent must infer when this beats check_vat, get_month_end_review, or get_year_end_package.

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