Skip to main content
Glama
mydata-ag

bexio-mcp

Official
by mydata-ag

bexio Bills

bexio_bills
Destructive

Manage purchase bills and supplier invoices: create, list with filtering, update, delete, and transition statuses between draft and booked.

Instructions

Manage purchase bills / supplier invoices (accounts payable, bexio purchase 4.0 API). Bill ids are UUID strings. Actions: "list" (paginated via limit/page/order/sort; optional full-text search_term of 3-255 chars with search_fields, and filters: status DRAFTS|TODO|PAID|OVERDUE, bill_date_start/end, due_date_start/end, vendor_ref, title, currency_code, pending_amount_min/max, vendor, gross_min/max, net_min/max, document_no, supplier_id, average_exchange_rate_enabled), "get" (bill by id), "create" (payload required: supplier_id, contact_partner_id, bill_date, due_date, manual_amount, currency_code, item_net, attachment_ids, address, line_items, discounts; provide amount_man when manual_amount=true, amount_calc otherwise), "update" (id + full payload; additionally requires split_into_line_items; line item/discount ids must already exist on the bill or be omitted for new ones), "delete" (id; permanently deletes the bill — cannot be undone), "execute_action" (id + bill_action "DUPLICATE": copies the bill into a new draft), "update_status" (id + status: "BOOKED" books the bill, "DRAFT" reverts it to draft), "validate_document_number" (document_no; reports whether it is available and the next free number).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoBill id (UUID; required for get/update/delete/execute_action/update_status)
pageNoPage number for "list"
sortNoField to sort by for "list"
limitNoResults per page for "list" (max 500)
orderNoSorting order for "list"
actionYesOperation to perform
statusNoTarget status for "update_status"
filtersNoOptional filters for "list"
payloadNoBill fields. Required on create: supplier_id, contact_partner_id, bill_date, due_date, manual_amount, currency_code, item_net, attachment_ids, address, line_items, discounts. Update sends the full bill and additionally requires split_into_line_items.
bill_actionNoAction to execute for "execute_action"
document_noNoDocument number to check for "validate_document_number"
search_termNoFull-text search term for "list" (3-255 characters)
search_fieldsNoFields the search term is applied to (all searchable fields when omitted)
Behavior4/5

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

Annotations already indicate destructiveHint=true; description adds that delete is permanent and cannot be undone. Also details payload requirements for create/update. No contradiction; provides additional behavioral context beyond annotations.

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

Conciseness5/5

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

Efficiently structured by action with front-loaded purpose. Every sentence adds specific and necessary information for tool usage. No redundancy or irrelevant details despite the complexity.

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

Completeness5/5

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

Covers all actions, required vs optional parameters, conditional logic, constraints (e.g., character limits, enum values). With high param count and nested objects, the description leaves little ambiguity. No output schema but acceptable given action descriptions suffice.

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% but description adds value beyond field descriptions by explaining conditional logic (e.g., provide amount_man when manual_amount=true, amount_calc otherwise) and grouping constraints per action. Reduces ambiguity for complex scenarios.

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 it manages purchase bills/supplier invoices (accounts payable, bexio purchase 4.0 API). Specifies resource type and differentiates from sibling tools like bexio_invoices (sales invoices).

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?

Describes each action (list, get, create, update, delete, etc.) and their inputs, but does not explicitly guide when to choose this tool over alternatives or when not to use it. Implicit context from purpose but no explicit usage guidance.

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/mydata-ag/bexio-mcp'

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