Skip to main content
Glama

update_customer

Change fields such as address, VAT number, or email on an existing Fortnox customer by customer number. Existing documents keep the email they were created with.

Instructions

Change customer fields (Fortnox field names, e.g. {"Address1": "...", "VATNumber": "...", "Email": "..."}). Existing documents keep the e-mail address they were created with.

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": {
      "customer_number": "<customer_number>",
      "fields": "<fields>"
    },
    "name": "update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYes
dry_runNo
customer_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one genuinely non-obvious behavior: existing documents keep the e-mail address they were created with, warning that the change does not propagate retroactively. It omits other important traits such as whether unspecified fields are preserved, what permission level is needed, and what happens on an invalid Fortnox field name.

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?

Two short sentences with zero filler, and the core action plus the accepted field format are front-loaded ahead of the caveat. Nothing could be cut without losing information.

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

Completeness3/5

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

For an unannotated mutation tool with no output schema, the description covers the key gotcha (e-mail not propagated) and the fields payload shape. It still leaves the dry_run flag, error behavior for bad field names, and response shape unexplained, which matters for a write operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate; it does so for the most opaque parameter by naming Fortnox field keys and giving example values for the free-form nested `fields` object. It says nothing about `dry_run` or `customer_number`, leaving two of three parameters undocumented anywhere.

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 and resource: "Change customer fields" on an existing customer, and gives concrete field examples (Address1, VATNumber, Email). It implicitly separates itself from create_customer by saying "change" rather than "create", though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the agent can infer this is for modifying an existing customer identified by customer_number, not for creating one. There is no explicit when-to-use/when-not guidance, no mention of prerequisites, and no pointer to get_customer for verifying current values before changing them.

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