Skip to main content
Glama
billingengine

BillingEngine MCP server

Official

Create a draft invoice

create_invoice

Generates a draft invoice for a customer using account settings for numbering, language, texts, and VAT. The invoice is not sent and counts toward the monthly plan limit.

Instructions

Creates a draft invoice for a customer. Number, language, texts and VAT treatment come from the account settings. The invoice is not sent; it counts towards the monthly invoice maximum of the plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoInvoice date, defaults to today
itemsYes
due_daysNoDays until payment is due
signatureNo
customer_idYes
introductionNo
service_period_end_dateNo
service_period_start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations confirm it is a write operation (readOnlyHint=false) but do not mention side effects like counting towards a monthly maximum. The description adds useful behavioral context: number/language/texts/VAT come from account settings, the invoice is not sent, and it counts toward the plan's invoice limit. It does not contradict 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?

Three concise sentences, front-loaded with the core action, then scoping details. Every sentence carries useful information without redundancy.

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

Completeness3/5

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

The description covers high-level behavior and side effects, and an output schema exists (so return values need not be explained). However, with 8 parameters and only 25% schema coverage, the description omits parameter guidance entirely, leaving gaps for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so the description must compensate. It does not describe any parameters—not even the required customer_id or items. The schema has some descriptions, but the description adds no meaning beyond what little is there.

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 states a specific verb and resource ('Creates a draft invoice') and clarifies that the invoice is not sent. It implicitly distinguishes from update_invoice and record_payment by calling it a 'draft invoice', but does not explicitly name siblings or differentiate beyond that.

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?

The description implies usage (creating a draft, not sending, counting towards limit) but provides no explicit when-to-use vs alternatives guidance. It does not mention when to use create_invoice instead of update_invoice or how it relates to sending an invoice later.

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