Skip to main content
Glama

article_movements

Read-only

Retrieves stock movement history for one article by rebuilding goods receipts, manual deliveries, stock corrections, and purchase orders, since Fortnox lacks a movement log.

Instructions

Stock history for one article, rebuilt from its documents (Fortnox has no movement log): goods receipts, manual in/outbound deliveries, stock corrections and purchase orders. Sales are on invoices (list_invoices).

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": {
      "article_number": "<article_number>"
    },
    "name": "article_movements"
  }
}

Input Schema

NameRequiredDescriptionDefault
article_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context beyond the annotations: the data is reconstructed from documents because 'Fortnox has no movement log', which tells an agent the result is synthesized and carries the caveats of its source documents. It does not describe ordering, pagination, or what fields a movement entry carries.

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?

Everything is front-loaded into two sentences with no filler, and the key scoping fact leads. The middle enumeration is a slightly run-on comma splice, but it earns its place by listing the event types covered.

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?

With no output schema, the description would ideally say what a movement record looks like (date, type, quantity, direction), and that is the main omission. Against a one-parameter read-only tool with annotations covering the safety profile, the explanation of derivation, coverage, and the sales exclusion is otherwise sufficient to call it correctly.

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?

The single parameter article_number has 0% schema description coverage, so the description is the only place meaning could be added. 'For one article' does establish that the input selects a single article and scopes the whole result, but nothing is said about the expected format of the identifier or whether it is the article number versus an internal id.

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 first clause names a specific resource and scope ('Stock history for one article') and then explains the mechanism ('rebuilt from its documents'), which tells an agent this is a derived, per-article history rather than a raw log. The enumeration of included event types (goods receipts, manual in/outbound, stock corrections, purchase orders) further pins down the content, and the final clause explicitly excludes sales, routing those to list_invoices.

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 clear positive guidance (use this for stock movement history of a single article) and names the boundary case with an alternative: sales live on invoices, use list_invoices. It stops short of stating when not to use it, e.g. that current on-hand stock belongs in get_article rather than here, so an agent must infer that distinction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.