Skip to main content
Glama

create_supplier

Create a new supplier in Fortnox after checking for existing matches by name or organisation number; use dry-run preview to validate before saving.

Instructions

Create a supplier (checks name / org number for an existing one first).

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": {
      "name": "<name>",
      "country_code": "<country_code>"
    },
    "name": "create_supplier"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
nameYes
emailNo
dry_runNo
address1No
currencyNo
zip_codeNo
vat_numberNo
country_codeYes
extra_fieldsNo
allow_duplicateNo
organisation_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool. It discloses one useful trait — that existing suppliers are checked by name and org number before creation — but never says what happens on a match (error, silent reuse, or skip), nor does it explain the dry_run or allow_duplicate flags that materially change side effects.

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 front-loaded sentence with no filler; the verb and resource come first. Its brevity is a virtue structurally, though the same brevity drives the semantic gaps scored elsewhere.

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 12-parameter creation tool with no annotations and no output schema, this definition is far too thin — nothing explains the duplicate-resolution outcome or the dry-run escape hatch. The one behavioral note is a good start but does not make the definition callable with confidence.

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 12 parameters, so the description must compensate and largely does not. It only references name and organisation_number in passing, leaving dry_run, allow_duplicate, currency, vat_number, address fields, and extra_fields entirely undifferentiated from their bare schema titles.

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 states a specific verb and resource ('Create a supplier'), which unambiguously separates it from get_supplier and update_supplier in the sibling list. It stops short of explicitly naming alternatives, but the create-vs-read-vs-update distinction is obvious from the verb alone.

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 use this tool versus update_supplier (for existing records) or get_supplier (to look up first). The parenthetical about checking name/org number describes internal behavior rather than when-to-use, so an agent gets no explicit decision rule.

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