Skip to main content
Glama

More AI - ChatGPT & Claude MCP (Fortnox)

Prepare a new customer

propose_create_customer
Idempotent

Prepares a new customer in the customer register. Use when the person asks to add a customer. Country is read-only: send CountryCode, the two-letter country code (SE for Sweden); Fortnox fills in the country name. This tool only prepares the change and sends nothing to Fortnox; the change is sent after the person approves it, as the answer describes. Body: {"Customer": {…}}; required: Name. Fortnox API POST /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": "propose_create_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoThe request body, as Fortnox expects it: an object

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "items": {},
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "items": {},
      +    "type": "array"
      +  },
      +  {
      +    "maxLength": 200000,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / body / description
      Previous value: -"The request body, as Fortnox expects it"New value: +"The request body, as Fortnox expects it: an object"
  2. Changed1 schema field changed
    • addedInput schema / properties / body / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "items": {},
      +    "type": "array"
      +  }
      +]
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, but the description adds the critical trait that the tool sends nothing to Fortnox and only stages a change pending human approval — knowledge an agent could not derive from the annotations. It also discloses the read-only Country behavior, which prevents the agent from trying to fill in the country name. Minor gaps: no mention of validation failures or what happens on a duplicate customer.

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?

Front-loaded with purpose, then the approval semantics, then parameter specifics, then the endpoint reference. Dense but every sentence carries operational value. The JSON snippet is slightly awkward inline but functional.

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

Completeness5/5

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

Covers the staging/approval lifecycle, the single body parameter's structure and required field, a notable read-only field quirk, and the underlying API endpoint for deeper reference. With an output schema present, no return-value explanation is needed, so nothing an agent must know to call this correctly is missing.

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?

Schema coverage is 100% but the single 'body' parameter is described generically as an object; the description compensates by naming the wrapper shape ({'Customer': {…}}), the required field (Name), and the two-letter format and example for CountryCode with the read-only caveat. It stops short of enumerating all accepted customer fields, so the agent still needs the upstream API docs for anything beyond the minimum.

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?

States a specific verb and resource ('Prepares a new customer in the customer register') and the staging semantics are made explicit in the same breath. The resource (customer) distinguishes it cleanly from the invoice/voucher siblings that share the 'propose_create_' prefix.

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?

Gives a concrete trigger: 'Use when the person asks to add a customer.' It also implies the right moment in the workflow by explaining the change is only prepared and sent after approval, which routes the agent away from assuming an immediate write. It doesn't name an alternative tool for direct reads/updates, but the trigger is unambiguous.

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