Skip to main content
Glama
berthelius

Frihet MCP Server

Duplicate Invoice

duplicate_invoice

Duplicate an existing invoice to create a new draft for a new period, preserving line items, client, tax, and notes. Ideal for recurring invoices.

Instructions

Duplicate an existing invoice for a new period. Copies all line items, client data, tax rate, and notes. Strips the original ID, document number, status, and timestamps. The new invoice starts as 'draft' with today's date (or the provided date). Perfect for recurring invoices — duplicate last month's invoice and adjust if needed. / Duplica una factura existente para un nuevo periodo. Copia conceptos, cliente, impuestos y notas. La nueva factura empieza como 'borrador' con fecha de hoy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the invoice to duplicate / ID de la factura a duplicar
newDueDateNoDue date for the new invoice (YYYY-MM-DD) / Fecha de vencimiento de la nueva factura
newIssueDateNoIssue date for the new invoice (YYYY-MM-DD), defaults to today / Fecha de emision de la nueva factura
Behavior4/5

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

Describes behavioral traits: copies data, strips identifiers and timestamps, sets status to draft with current date. Annotations only indicate non-readOnly, non-destructive, etc., which the description aligns with. No contradictions. Could clarify that original invoice remains unchanged, but it's implied.

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?

English portion is four sentences, Spanish repeats the same info, making it slightly longer than necessary. However, the core information is front-loaded and every sentence adds value. Still concise enough for a bilingual tool.

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?

Covers the full duplication flow, including what gets reset and default date. No output schema exists, so description could mention return value (e.g., created invoice object), but the operation is clearly explained. Acceptable for the tool complexity.

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 provides full descriptions for all three parameters. The description reinforces the default behavior (today's date) but does not add new semantic details beyond the schema. Baseline of 3 is appropriate given 100% coverage.

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?

Clearly states the tool duplicates an existing invoice, enumerating what is copied (line items, client data, tax rate, notes) and what is stripped. Distinguishes from create_invoice by specifying it works from an existing invoice, making it apt for recurring invoices.

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 suggests use for recurring invoices, providing a practical example. Does not contrast with alternatives like create_invoice, but the use case is well implied. Slightly less than perfect due to lack of explicit when-not-to-use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berthelius/frihet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server