Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

list_activities

Retrieve billable usage activities from Fakturia and filter by customer, performance or scheduled date ranges, or unbilled status to find records ready for invoicing.

Instructions

Retrieve all activities from Fakturia, optionally filtered by customer, performance date range, scheduled date range, or billing status. Activities represent billable usage or consumption records that can be invoiced. Use dateFrom/dateTo to filter by when the activity was performed, and scheduledFrom/scheduledTo to filter by when it is scheduled for billing. Set unbilledOnly to true to find activities that have not yet been included on an invoice.

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": "list_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoEnd of the performance date range filter in YYYY-MM-DD format. Only activities performed on or before this date are returned.
dateFromNoStart of the performance date range filter in YYYY-MM-DD format. Only activities performed on or after this date are returned.
scheduledToNoEnd of the scheduled date range filter in YYYY-MM-DD format. Only activities scheduled on or before this date are returned.
unbilledOnlyNoWhen true, only activities that have not yet been billed (i.e. not yet included on an invoice) are returned.
scheduledFromNoStart of the scheduled date range filter in YYYY-MM-DD format. Only activities scheduled on or after this date are returned.
customerNumberNoFilter activities by customer number. Only activities belonging to this customer will be returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/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 whole behavioral burden. 'Retrieve' plus the filtering semantics makes clear this is a non-mutating read, and it explains the performance-vs-scheduled date distinction, but it says nothing about result volume, pagination, ordering, or whether all activities are returned when no filter is set — meaningful gaps for a six-parameter listing tool.

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?

Three sentences, front-loaded with the purpose and definition before the filter guidance. A small amount of space is spent restating schema parameter descriptions (notably unbilledOnly), but nothing is padded or off-topic.

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?

All six optional parameters are addressed and the domain concept of an activity is defined, which is enough to call the tool correctly with no annotations and no output schema. The main omission is any statement about result size, paging, or default behavior when called without filters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns an extra point by explaining the conceptual difference between the two date pairs (when work was performed vs when it is scheduled for billing), which the schema text alone only hints at. The unbilledOnly explanation largely restates 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 ('Retrieve all activities from Fakturia') and defines what an activity is ('billable usage or consumption records that can be invoiced'). It does not distinguish itself from the sibling get_contract_activities, so an agent must infer that this is the unfiltered/global listing, but the core purpose is unambiguous.

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?

Gives concrete guidance on which filters to reach for: dateFrom/dateTo for performance dates, scheduledFrom/scheduledTo for billing dates, and unbilledOnly for un-invoiced records. It does not state when to prefer a sibling such as get_contract_activities or what happens when no filters are supplied, so it stops short of full routing 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