Skip to main content
Glama
Billin MCP Server

Billin MCP Server

by AnderRahe

Create Receipt

create_receipt

Create a simplified sales receipt for point-of-sale transactions with automatic tax calculation. Add line items, customer details, and issue date for a tax-compliant ticket.

Instructions

Create a simplified sales receipt (ticket) for point-of-sale transactions. Tax amounts are auto-calculated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lines": "<lines>"
    },
    "name": "create_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYesLine items
contactNoOptional contact info
commentsNoNotes
currencyNoCurrency (default: EUR)EUR
issuedDateNoIssue date YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses one useful trait, that tax amounts are auto-calculated, but says nothing about permissions, whether the receipt is immutable once issued, numbering, or what the call returns. For a write operation with zero annotation coverage this is a substantial gap.

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?

Two tight sentences with no filler, and the core purpose is front-loaded. It is perhaps under-sized rather than bloated, so the structure is fine but the scope is thin.

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?

The tool takes a nested line-item array plus an optional contact object with country-specific address requirements, has no annotations and no output schema. The description explains none of that complexity, leaving the agent to rely entirely on the schema and to guess at return behavior and failure modes.

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 every parameter including nested line items, tax keys and address fields is already documented in the schema. The description adds no parameter meaning beyond that, and its tax note merely repeats the schema's own taxKey description. Baseline 3 applies.

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?

Names a specific verb and resource: 'Create a simplified sales receipt (ticket) for point-of-sale transactions.' That is clearly distinct from generic record creation, but it never contrasts itself with the sibling create_invoice, which is the most likely confusion for an agent choosing between a receipt and an invoice.

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?

The only usage cue is 'point-of-sale transactions', which implies a context but states no explicit when-to-use or when-not-to-use rule. Nothing tells the agent when to pick this over create_invoice, or what prerequisites (e.g. an existing contact) are needed.

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