Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

patch_customer_custom_fields

Partially updates custom fields on a customer, changing only the fields you specify while leaving all other existing custom fields unchanged.

Instructions

Partially update custom fields on a customer. Only the fields specified in the request body are updated; existing custom fields not included in the request are left unchanged. Use set_customer_custom_fields if you want to replace all custom fields entirely.

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": {
      "customerNumber": "<customerNumber>",
      "customFields": "<customFields>"
    },
    "name": "patch_customer_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
customFieldsYesThe custom fields to update as key-value pairs. Only the specified fields are changed.
customerNumberYesThe unique customer number whose custom fields should be patched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.9/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 it does disclose the most important trait: merge semantics where unspecified fields are left unchanged. It says nothing about permission requirements, whether a null/empty value removes a field, or what the response contains, which are meaningful gaps for a mutation tool with no annotations.

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?

Three short sentences, front-loaded with the partial-update behavior and followed by the scoping rule and the alternative. Slightly redundant in restating 'only the fields specified are updated' twice in different words.

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?

The tool has only two parameters, both required and fully documented, and no output schema, so the description's scope of explaining merge-versus-replace behavior covers the main call decision. Missing only edge-case behavior such as clearing a field or permission prerequisites, which keeps it from a 5.

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 coverage is 100% and the customFields property description already says only specified fields are changed, so the description largely restates structured data. It adds no format, nesting-depth, or value-type detail beyond the schema's key-value pairs.

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 ('partially update custom fields on a customer') and immediately contrasts with the replace-style sibling, so an agent can distinguish patch from set without opening either schema.

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?

Explicitly names the alternative set_customer_custom_fields and the condition that selects it ('if you want to replace all custom fields entirely'), which is exactly the decision an agent faces. It stops short of addressing the other patch_* siblings or stating when not to use this tool at all, so it is strong but not exhaustive.

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

Deploy Server

Other Tools