Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

List customers

list_customers
Read-onlyIdempotent

Lists the customers in the customer register, one page per call, with filters such as name, customer number, organisation number and city. Use when the person asks to find a customer or look up customer details. summarize.all_pages gives totals over every page. Read-only. Fortnox API GET /3/customers (https://api.fortnox.se/apidocs).

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_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
glnNofilter by gln
cityNofilter by city
nameNofilter by name
pageNo
emailNofilter by email
limitNo
phoneNofilter by phone
expandNoOpen each record (rows)
fieldsNoOnly these columns
filterNoOne of: active, inactive
offsetNo
sortbyNoOne of: customernumber, name
zipcodeNofilter by zip code
sortorderNoOne of: ascending, descending
summarizeNoGroup and total on the server
glndeliveryNofilter by gln delivery
lastmodifiedNofilter by last modified
customernumberNofilter by customer number
organisationnumberNofilter by organisation number

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The description adds behavior beyond the annotations: it discloses pagination ('one page per call'), an aggregation path ('summarize.all_pages gives totals over every page'), and the underlying Fortnox endpoint. It doesn't mention auth or rate limits, but the annotations already cover the safety profile.

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?

Front-loads purpose, then usage, then a key behavioral note, then API reference – no padding. 'Read-only.' lightly duplicates the annotation but still earns its place as reassurance.

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?

For a 19-parameter tool with nested summarize and an output schema, the description covers the main invocation patterns and pagination/aggregation behavior. Detailed paging parameters and return shapes are correctly left to the schema and output schema.

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?

With 19 parameters and 84% schema description coverage, the baseline is 3. The description highlights key filters (name, customer number, organisation number, city) and the summarize.all_pages flag, adding semantic value beyond the schema; paging and column-selection parameters are left to the schema.

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?

States a specific verb ('Lists') and resource ('customers in the customer register'), plus scope ('one page per call') and the filter dimensions available. It never names a sibling tool to differentiate from, so it is clear but not fully distinguished.

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?

Provides a concrete when-to-use trigger: 'when the person asks to find a customer or look up customer details.' It does not state when not to use it or point to an alternative tool, so it lacks exclusions.

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