Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_customer_custom_fields

Retrieve all custom key-value fields for a specific customer by customer number to access user-defined metadata stored on the customer record.

Instructions

Retrieve all custom fields for a specific customer. Custom fields are user-defined key-value pairs that store additional metadata on the customer record.

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>"
    },
    "name": "get_customer_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerNumberYesThe unique customer number whose custom fields should be retrieved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden; it establishes a read-only retrieval of key-value metadata, which is helpful context. However, it says nothing about permissions, whether an empty result is possible for customers with no custom fields, or pagination/volume behavior for customers with many fields.

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?

Two sentences, front-loaded with the action and scope, with zero preamble. The second sentence defines the domain term 'custom fields', which is genuinely useful disambiguation rather than filler, though it is the only thing keeping the definition from being a single tight sentence.

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 one-parameter read tool with no annotations and no output schema, the definition covers purpose, scope, and the shape of the returned data ('user-defined key-value pairs'). The remaining gap is return-volume expectations and error/empty-case behavior, which is a minor omission at this complexity level.

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 single customerNumber parameter is fully documented in the schema, so baseline 3 applies. The description adds only the notion of 'a specific customer' and does not clarify format (e.g., numeric string vs. internal ID) beyond what the schema states.

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 opens with a specific verb and resource: 'Retrieve all custom fields for a specific customer', which precisely delimits scope (all fields, one customer). It implicitly contrasts with the patch_/set_ custom-field siblings by being the read variant, but never names or describes that alternative 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 only implied: the word 'Retrieve' signals a read operation, and 'for a specific customer' signals the required scope, which lets an agent distinguish it from mutation siblings by name convention alone. There is no explicit statement of when to prefer this over get_customer or the set_/patch_ variants, and no prerequisites or exclusions.

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