Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_contract

Retrieve a single contract by contract number to view full details, including status, customer information, billing configuration, subscription items, and metadata.

Instructions

Retrieve a single contract by its contract number. Returns full contract details including status, customer information, billing configuration, subscription items, and metadata.

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": {
      "contractNumber": "<contractNumber>"
    },
    "name": "get_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNumberYesThe unique contract number to retrieve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the load, and it does reasonably well: 'Retrieve' implies a non-mutating read, and it enumerates the returned surface (status, customer information, billing configuration, subscription items, metadata), which is valuable since no output schema exists. It stops short of stating what happens if the contract number is unknown or whether any permissions are required.

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 tight sentences, front-loaded with the action and lookup key before the return payload. The field enumeration is slightly list-like but earns its place because there is no output schema to document returns.

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 single-parameter read tool with no output schema, the description covers identification, operation direction, and the shape of the response. The only meaningful gap is error/permission behavior when the contract number does not resolve.

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?

Only one parameter and schema description coverage is 100% ('The unique contract number to retrieve'), so the schema already does the work. The description restates the lookup key without adding format, range, or sourcing 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?

Specific verb+resource ('Retrieve a single contract by its contract number') with scope signaling 'single' as opposed to the many sub-resource getters like get_contract_activities or get_contract_discounts. It clearly identifies the primary contract entity, though it never names a sibling explicitly to complete the differentiation.

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: call this when you already have a contract number and need the parent contract record rather than a sub-resource. There is no explicit statement of when to prefer this over the sub-resource getters or update_contract, and no prerequisite or not-found guidance.

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