Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_contract_report

Create a contract report export in Fakturia, optionally filtered by date range. The report is processed asynchronously; check status and retrieve via list_export_results or get_export_result.

Instructions

Create a new contract report export in Fakturia. Generates an export file containing contract data, optionally filtered by date range. The report is processed asynchronously; use list_export_results or get_export_result to check the status and retrieve the generated document once ready.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_contract_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoEnd of the date range filter in YYYY-MM-DD format. Only contracts active on or before this date are included.
dateFromNoStart of the date range filter in YYYY-MM-DD format. Only contracts active on or after this date are included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4/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 does deliver the most important trait: the report is generated asynchronously, so the agent must poll rather than expect data back. It does not state what the create call itself returns (presumably an identifier), whether duplicate requests create duplicate exports, or any permission or rate-limit constraints.

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?

Three short sentences, front-loaded with the action and output type, then filtering, then the async/next-step behavior. No filler or redundant restatement of the tool name.

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 an async, zero-required-parameter creation tool with no output schema, the description covers what is produced and how to retrieve it. The one gap is that it never says what the immediate response contains, which the agent needs to know to actually poll.

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 both date parameters already document their YYYY-MM-DD format and inclusive boundary semantics. The description only restates that filtering is optional, adding no syntax or edge-case meaning beyond the schema, so the baseline 3 applies.

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 ("Create a new contract report export in Fakturia") and immediately clarifies the output is an export file of contract data. The contract-specific naming distinguishes it from the sibling report creators such as create_invoice_report and create_mrr_report.

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 follow-up tools (list_export_results, get_export_result) and the condition for using them ("once ready"). It gives no guidance on when to choose this report versus the invoice/MRR/customer report variants, so it stops short of full alternative routing.

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