Skip to main content
Glama

Xenition

Add an invoice or bill

add_ledger_entry

Use this when the user wants to record an invoice, bill or receipt in their Xenition ledger — vendor, amount, due date, optionally already paid. Returns the ledger's invoices. Do not use to pay, send or email an invoice; Xenition has no payment or messaging channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoinvoice | receipt | credit_note (default invoice)
amountYesthe invoice total
vendorYesthe vendor / who the invoice is from
dueDateNoYYYY-MM-DD
currencyNocurrency code, default USD
markPaidNoalso mark it paid now
invoiceNumberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
emptyNo
itemsYes
titleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the write/non-destructive/non-idempotent profile, so the bar is lower. The description still adds real context: the ledger has no payment or messaging channel (scope boundary) and that the call returns the ledger's invoices. It does not mention duplicate-entry risk despite idempotentHint=false, which is the one notable omission.

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?

Two sentences, zero waste, and the usage trigger is front-loaded before the return note and the exclusions. Nothing is repeated from the title or schema.

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?

With annotations covering the safety profile, an output schema covering returns, and 86% schema description coverage, the description only needs to establish purpose, trigger and scope boundary — all of which it does. Nothing an agent needs to call this correctly is missing.

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 86%, so the schema already documents all seven parameters including kind, currency defaults and date format. The description only echoes vendor, amount, due date and the optional paid flag, adding no syntax or format detail beyond the schema — the baseline 3 for high coverage applies.

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?

Specific verb+resource ('record an invoice, bill or receipt in their Xenition ledger') with the key fields named (vendor, amount, due date, paid state). It is clearly distinguishable from ledger siblings such as query_ledger and mark_paid, which the 'do not use to pay' clause implicitly separates it from.

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?

Explicit trigger ('use this when the user wants to record an invoice...') plus explicit exclusions ('Do not use to pay, send or email an invoice'). It stops short of naming the alternative tool (mark_paid) that should be used instead, leaving that routing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources