Skip to main content
Glama

list_purchase_orders

Read-only

Lists and filters Fortnox purchase orders by state, supplier, article, or search term without line items; use get_purchase_order for row details.

Instructions

Purchase orders (rows not included — use get_purchase_order). DELAYED = past delivery date, not fully received.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
stateNoCURRENT
offsetNo
searchNo
article_numberNo
supplier_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds a genuinely useful behavioral fact that the annotations do not carry: results are header-level only, with rows omitted. Beyond that it says nothing about pagination behavior, default result ordering, or the scale of a default 100-row page, so it adds some but not rich context.

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?

Two short sentences, no filler, and the critical scoping caveat (rows not included) is front-loaded ahead of the secondary enum note. Structure is efficient and scannable. The terseness is close to under-specification, but nothing present is wasted.

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

Completeness2/5

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

For a six-parameter, zero-required filter tool with no output schema and no parameter documentation anywhere, the description leaves too much unresolved — an agent cannot tell what search matches, how offset/limit interact, or what most states mean. It covers the get_purchase_order handoff and one enum value, which is not enough for the tool's complexity.

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% across six parameters, so the description must carry the semantics and it largely does not. Only the DELAYED enum value is explained; limit, offset, search, article_number, supplier_number, and the seven other enum states are left entirely undocumented. The single clarification is valuable but covers a small fraction of the surface.

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 (purchase orders) and, via the parenthetical, states a concrete scope limit: rows are not included. It also distinguishes itself from the sibling get_purchase_order by naming it explicitly, so an agent can tell listing from detail retrieval without opening the schema. The listing verb itself is only implied through the tool name rather than stated in the text, which keeps it short of a 5.

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 a clear routing rule — use get_purchase_order when line rows are needed — which is the main fork an agent faces with this pair. It also defines the non-obvious DELAYED state so the agent knows what that filter actually selects. It stops short of saying when to prefer the other state values (SENT vs SENT_NOT_REJECTED, ALL vs CURRENT) or what search/article_number/supplier_number are for.

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