Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Get a supplier invoice

get_supplier_invoice
Read-onlyIdempotent

Returns one supplier invoice by GivenNumber, Fortnox's own serial number for it (not the supplier's invoice number), with rows, amounts, dates and status. Use when the person asks about a specific supplier invoice. Read-only. Fortnox API GET /3/supplierinvoices/{GivenNumber} (https://api.fortnox.se/apidocs).

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": {
      "GivenNumber": "<GivenNumber>"
    },
    "name": "get_supplier_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
GivenNumberYesidentifies the invoice

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so 'Read-only' is largely redundant, but the description adds real value by listing what comes back (rows, amounts, dates, status) and citing the underlying API endpoint for reference. Notably it does not claim anything that conflicts with the annotations.

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?

Three compact sentences: identity of the resource first, then the usage trigger, then safety and provenance. No filler, and the key disambiguation appears in the first sentence where it matters most.

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-parameter read with an output schema and full annotations, nothing an agent needs is missing: the identifier semantics, the usage condition, and the safety profile are all covered. Return-field detail is supplied by the output schema, so the brief inline summary is sufficient.

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%, so the baseline is 3, and the description earns a bump by disambiguating the one parameter that is easy to get wrong: GivenNumber is Fortnox's serial number rather than the supplier's own invoice number. It stops short of giving format or type guidance beyond that.

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 ('Returns one supplier invoice') and pins the exact key ('by GivenNumber, Fortnox's own serial number, not the supplier's invoice number'), which separates it from find/list-style siblings even without naming them. An agent can tell this is a single-record fetch keyed on Fortnox's internal ID.

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 about a specific supplier invoice' gives a clear triggering condition and implicitly excludes search/list scenarios. It does not explicitly say to use a find/list tool when the identifier is unknown, so the exclusion is left to inference.

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