Skip to main content
Glama

Fakturownia (InvoiceOcean): Get invoice

fakturownia_get_invoice
Read-only

Fakturownia (InvoiceOcean): One invoice with its line items, buyer, payments and KSeF fields. Returns one invoice with its positions, buyer and seller data, status and the payments linked to it. When KSeF is on for the account, it also returns gov_status and the KSeF number. Needs the user's Cotlet API key with access to this app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYesInvoice ID from list_invoices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond annotations: the conditional KSeF behavior (gov_status and KSeF number only returned when KSeF is on for the account) and the API-key authorization requirement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening two sentences largely restate each other: 'One invoice with its line items, buyer, payments and KSeF fields' is immediately followed by 'Returns one invoice with its positions, buyer and seller data, status and the payments linked to it.' One of the two is redundant, costing efficiency even though the auth note is a worthwhile closer.

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?

With no output schema and only one parameter, the description carries the return-value burden and does so competently, listing the salient fields and noting the conditional KSeF fields. Safety and auth are covered; the main omission is when to prefer this tool over its siblings.

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 invoice_id already carries 'Invoice ID from list_invoices.' The description adds no syntax, format or sourcing detail beyond that, so the baseline 3 for a schema-covered parameter 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 (get) and resource (one invoice) and enumerates the returned contents: line items, buyer, seller, status, payments and KSeF fields. It is clear what the tool does, though it never explicitly names the sibling it differs from (e.g., list_invoices or get_invoice_pdf), so sibling differentiation is only implicit.

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?

It states a prerequisite ('Needs the user's Cotlet API key with access to this app'), which is useful context. However, it gives no guidance on when to choose this single-invoice fetch over fakturownia_list_invoices, get_invoice_pdf or get_ksef_status. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources