Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Lagervärde

get_inventory_value
Read-onlyIdempotent

Inventory value per article and in total, against the balance on the inventory account in the bookkeeping, with negative stock, articles below the reorder point and stock without a purchase price. Use when the person asks what the inventory is worth, whether it matches the bookkeeping, or what needs reordering. Example question: "Vad är lagret värt, och stämmer det med bokföringen? Vad behöver vi beställa?" 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_inventory_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoantal artiklar att visa, standard 50 Number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / top / description
      Previous value: -"antal artiklar att visa, standard 50"New value: +"antal artiklar att visa, standard 50 Number."
    • changedInput schema / properties / top / type
      Previous value: -[
      -  "string",
      -  "number"
      -]New value: +[
      +  "number",
      +  "string"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world, so the description's confirmation of 'Read-only' is light reinforcement rather than new information. It does add real value by disclosing that results are computed server-side from live Fortnox data across all pages, which tells the agent there is no pagination caveat to worry about and the figures are current. It does not discuss cost, rate limits, or empty-data behavior.

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 structure is front-loaded and logical: what it returns, when to use it, an example, then behavioral notes. The example question largely restates the usage sentence, and the API URL is marginal, but nothing is confusingly placed or gratuitously long.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Purpose, usage triggers, data source, and freshness are all present; only the interaction between the 'top' parameter and the total value is left unaddressed.

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?

With a single parameter at 100% schema coverage, the schema already documents 'top' (number of articles to show, default 50), so the baseline is 3. The description does not clarify a meaningful nuance: whether limiting displayed articles affects the reported total value, which the agent could reasonably wonder about.

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 resource and computation: inventory value per article and in total, reconciled against the inventory account balance, plus negative stock, items below reorder point, and items lacking a purchase price. This is clearly distinguishable from siblings such as get_article, get_sales_by_article, or get_balance_sheet, which cover adjacent but different questions.

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 explicit trigger conditions: when the user asks what inventory is worth, whether it matches bookkeeping, or what needs reordering, reinforced by a concrete example question. There are no explicit exclusions or named alternative tools, but the intended context is unambiguous.

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