Skip to main content
Glama

stock_warnings

Read-only

Retrieve Fortnox stock warnings to identify low stock balances and order shortages, including article, supplier, in-stock, reserved, available, and reorder-point details for replenishment decisions.

Instructions

The 'Lågt saldo' stock warning list (Lager → Lagerlista): supplier, article, in stock, on order, reserved, available, order shortage, order point, stock warning.

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

Input Schema

NameRequiredDescriptionDefault
statusNoLOW_STOCK_BALANCE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so safety is covered, but the description adds nothing beyond them: no pagination, sorting, result size, or freshness behavior is described. Critically, the `status` selector — which materially changes what the list contains — is never discussed, so the agent cannot reason about the call's 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?

A single compact sentence with the resource named first. The column enumeration is not wasted text here because there is no output schema, so it is the only signal about what data comes back.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only list tool the column list partly substitutes for the missing output schema, which keeps it from being inadequate. However, the unspecified enum and absence of any usage or filtering guidance leave meaningful gaps for an agent deciding how to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single `status` parameter, whose values (LOW_STOCK_BALANCE, ORDER_SHORTAGE, ALL) are non-obvious and which carries a default. The description never references the parameter; 'order shortage' and 'stock warning' appear only as column names, at best an oblique hint at the enum semantics rather than an explanation.

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

Purpose3/5

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

The description names a specific resource (the 'Lågt saldo' stock warning list, mapped to Lager → Lagerlista) and enumerates the columns it presents, but it uses no verb at all — an agent must infer that this retrieves the list. The trailing field names read as output columns rather than a statement of purpose, so the intent is recognizable but not crisply asserted.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus the closely related get_stock sibling, and no mention of prerequisites or the meaning of the one parameter's enum values. The agent is left to guess whether this is a dashboard view, an alert feed, or a filtered article list.

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