Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_customer_contracts

Retrieve all contracts for a specific customer by customer number, including status, start and end dates, items, and billing details.

Instructions

Retrieve all contracts associated with a specific customer. Returns a list of contracts including their status, start and end dates, items, and billing details.

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_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerNumberYesThe unique customer number whose contracts should be retrieved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose what comes back (status, start/end dates, items, billing details), which is genuinely useful. It says nothing about pagination, result size limits, or whether the call requires specific permissions, which are meaningful gaps for a read tool with zero annotation coverage.

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, zero waste, with the action and scope front-loaded before the return-value summary. Every sentence contributes information.

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 simple single-parameter read tool with no output schema, the description covers purpose and return contents adequately. The remaining gaps (pagination, permissions) are modest given the tool's simplicity, but they keep it from being fully complete.

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 100% and the single parameter is fully documented in the schema, so the baseline is 3. The description only restates that retrieval is scoped to a customer; it adds no format, validation, or lookup guidance beyond the schema.

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 with clear scope: 'Retrieve all contracts associated with a specific customer.' An agent can immediately tell this returns a collection filtered by customer rather than a single contract. It does not name or distinguish itself from siblings like list_contracts or get_contracts_by_project, which keeps it from a 5.

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?

The customer-scoped retrieval is implied by the name and description, so an agent can infer the use case. However, there is no explicit guidance on when to use this versus list_contracts for an unfiltered list or get_contract for a single contract's details, and no prerequisites are stated.

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