Skip to main content
Glama
AIWerk

mcp-server-smallinvoice

by AIWerk

update_invoice

Modify an existing invoice by updating its fields such as number, dates, currency, positions, and notes.

Instructions

Updates specified invoice

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYesinvoice ID
numberNounique number
contact_idNoid of a contact
contact_address_idNoid of a contact's address
contact_prepage_address_idNoid of a contact's prepage address
contact_person_idNoid of a contact's person
dateNodate of the invoice
dueNodue date of the invoice
period_fromNoservice period from
period_toNoservice period to
period_textNoservice/delivery
currencyNocurrency (e.g. CHF, EUR)
vat_includedNowhether prices in invoice include VAT
discount_rateNooptional discount rate
discount_typeNooptional discount type; possible values: A - amount, P - in %
cash_discount_rateNocash discount value in %
cash_discount_dateNocash discount deadline date
bank_account_idNobank account id
isr_idNoISR id
isr_positionNoISR position; possible values: A - additional page, F - first page, L - last page
payment_link_paypalNowhether to print PayPal link on invoice
payment_link_postfinanceNowhether to print PostFinance link on invoice
payment_link_payrexxNowhether to print Payrexx link on invoice
payment_link_smartcommerceNowhether to print SmartCommerce link on invoice
languageNolanguage; possible values: de, en, es, fr, it
signature_idNosignature id
layout_idNolayout id
notesNooptional notes
custom_fieldsNocustom fields values
positionsNopositions objects
textsNotexts objects
free_textsNofree texts objects
workflowNoworkflow objects
Behavior3/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, so the tool mutates but is not destructive. The description adds no further behavioral context, such as partial update behavior or required permissions, which is acceptable given annotations provide basic safety info.

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?

The description is a single sentence that is concise and front-loaded. It is minimal but effective, though could be expanded slightly without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of 33 parameters and no output schema, the description is too sparse. It does not explain the update semantics (e.g., partial update vs. full replacement), return value, or error conditions, leaving important gaps for an agent.

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?

All 33 parameters have descriptions in the input schema, achieving 100% coverage. The tool description does not add additional meaning beyond what the schema provides, but the schema is sufficient, so a baseline score of 3 is appropriate.

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 'Updates specified invoice' clearly states the action and resource. It is unambiguous and distinguishes from create/delete tools, though it does not explicitly differentiate from other update tools or the change_invoice_status sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like change_invoice_status or other update tools. There is no mention of prerequisites or contexts.

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/AIWerk/mcp-server-smallinvoice'

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