Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_contract_commission_rules

Retrieve all commission rules configured for a contract to see how and when commissions are calculated and paid. Use the contract number to return the applicable rules.

Instructions

Retrieve all commission rules configured for a contract. Commission rules define how and when commissions are calculated and paid for this contract.

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

Input Schema

NameRequiredDescriptionDefault
contractNumberYesThe unique contract number whose commission rules to retrieve.

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 supplied, so the description carries the full behavioral burden; 'Retrieve' establishes read-only semantics and the second sentence adds useful domain meaning about what a commission rule governs. It does not disclose pagination, result size, ordering, or whether an unconfigured contract returns an empty list versus an error — meaningful gaps for a list-all operation.

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 action is front-loaded ahead of the domain gloss. The second sentence earns its place by defining the noun the tool 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 simple single-parameter read tool with full schema coverage and no output schema, the description covers purpose and domain meaning adequately. It leaves minor holes around result shape and empty-result behavior, but nothing required to invoke it correctly is missing.

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?

There is a single required parameter with 100% schema description coverage ('The unique contract number whose commission rules to retrieve'), so the schema already does the work. The description adds no extra parameter meaning, such as format, source of the contract number, or behavior when the number is unknown; baseline 3 applies.

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 states a specific verb and resource: 'Retrieve all commission rules configured for a contract,' and the second sentence clarifies what those rules represent. It does not name or distinguish itself from the write counterpart, create_contract_commission_rule, or from other contract sub-resource getters, leaving sibling differentiation to inference.

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 by the phrasing 'for a contract' — an agent can infer this is the read path for commission rules tied to one contract. There is no explicit when-to-use guidance, no mention of when to prefer create_contract_commission_rule or other contract getters, and no stated prerequisites such as contract state or permissions.

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