Skip to main content
Glama

get_order

Read-only

Retrieve a Fortnox order by document number to view its rows and current delivery and warehouse status, helping you verify order contents and fulfillment state.

Instructions

One order with rows and delivery/warehouse state.

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": {
      "document_number": "<document_number>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds the useful detail that the response includes order rows plus delivery/warehouse state, which is real behavioral context given there is no output schema, but it says nothing about failure modes for an unknown document number or any access constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, but it is a noun phrase rather than a front-loaded statement of action, and its brevity comes from under-specification rather than efficiency.

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?

With no output schema and no schema descriptions, the definition should carry the full burden, yet it leaves the identifier semantics, error behavior, and distinction from the purchase-order sibling unexplained. The return-content hint is the only substantive piece of information provided.

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 required parameter, and the description never mentions it at all. The agent gets no signal that the input is a document number identifying the order, nor any format or example for that identifier.

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 fragment 'One order with rows and delivery/warehouse state' implies retrieval of a single order and hints at returned content, but omits a verb entirely ('One order' is not an action) and never clarifies how it differs from get_purchase_order, which sits right beside it in the catalog.

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 when-to-use guidance, no exclusion of alternatives such as get_purchase_order or get_document_pdf, and no note on what to do if the order does not exist. The agent must infer the retrieval use case from the name alone.

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