Skip to main content
Glama

create_bill

Create a supplier bill in Billy by specifying contact, date, and expense lines. Set state to approved to book immediately.

Instructions

Create a supplier bill (expense) in Billy with one or more lines coded to expense accounts. Created as draft by default; pass state=approved to book it immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesYesBill lines (at least one)
stateNoBill state (default 'draft')
dueDateNoPayment due date (YYYY-MM-DD)
taxModeNoWhether amounts include or exclude VAT (defaults to org setting)
verboseNoReturn the full Billy response. Default false: compact records with key fields only (saves ~90% context)
contactIdYesSupplier contact ID (see list_contacts)
entryDateYesBill date (YYYY-MM-DD)
voucherNoNoVoucher number for the bill
currencyIdNoBill currency, e.g. 'DKK' (defaults to org base currency)
suppliersInvoiceNoNoThe supplier's invoice number
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the description's mention of draft state adds a bit of behavioral context. But it does not disclose permissions, rate limits, or side effects beyond what annotations imply.

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?

The description is a single, front-loaded sentence with no redundant information. Every word is purposeful and efficient.

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?

Given the tool complexity (10 parameters, no output schema), the description covers the core functionality well but omits return value format. However, the lack of output schema is not the description's responsibility. The description is adequate for a creation tool.

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%, so the baseline is 3. The description does not add any parameter semantics beyond what is already in the schema; it only reiterates 'coded to expense accounts' which is covered by accountId.

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 action ('Create'), the resource ('supplier bill'), and the context ('in Billy with one or more lines coded to expense accounts'). It distinguishes from siblings like create_invoice by specifying 'supplier bill (expense)'.

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?

The description provides usage context by noting the default draft state and how to book immediately (state=approved). However, it does not explicitly differentiate from sibling tools like create_invoice or create_bank_payment, nor does it state when not to use this tool.

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/Thourum/billy-mcp'

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