Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-bexio

by AIWerk

create_invoice_from_order

Convert an existing order into an invoice by supplying the order ID. Optionally filter positions to include only selected line items; otherwise all order items are transferred.

Instructions

Create invoice from order

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesthe id of the order
positionsNoPlease note that the positions array can be omitted to create a document with all positions from the source document.
Behavior2/5

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

The description adds no behavioral context beyond the action itself. It doesn't mention side effects on the source order, whether the invoice is created as draft or issued, or any other consequences. Annotations only indicate it's a non-read-only, non-idempotent operation, so the description carries the burden for transparency but doesn't fulfill it.

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 clear sentence with no wasted words. However, it is somewhat under-specified for the complexity of the operation, so it doesn't earn a 5.

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?

Creating an invoice from an order is a workflow with significant context (e.g., order status, position copying, invoice numbering). The description provides none of this and there is no output schema. It is too minimal for an agent to understand the full behavior.

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% with descriptions for both order_id and positions. The description adds no additional parameter meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description clearly states the tool creates an invoice sourced from an order. It distinguishes from siblings like create_invoice (standalone) and create_invoice_from_quote (from quote) by specifying the source document.

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 such as create_invoice or create_invoice_from_quote. The description lacks any context about prerequisites or conditions for 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/AIWerk/mcp-server-bexio'

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