Skip to main content
Glama
Billin MCP Server

Billin MCP Server

by AnderRahe

Create Quote

create_quote

Create a quote for clients with auto-calculated taxes, assign a numbering series, and enable later conversion into an invoice.

Instructions

Create a quote (presupuesto) that can be sent to clients and later converted into an invoice. Tax amounts are auto-calculated. Requires either serieId or serialCode to assign a numbering series.

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>",
      "contact": "<contact>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYesLine items
statusNoQuote status (default: PENDING)
contactYesQuote recipient
dueDateNoExpiration / due date YYYY-MM-DD
serieIdNoSerie UUID. Takes priority over serialCode if both provided.
commentsNoNotes for the client
currencyNoCurrency (default: EUR)EUR
referenceNoInternal reference
issuedDateNoQuote date YYYY-MM-DD
serialCodeNoSerial code for quote numbering series (e.g. 'PRES'). Either serialCode or serieId is required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful behaviors: tax is auto-calculated per line, and the document is a pre-invoice artifact that can later be converted. It says nothing about permissions, what happens with defaults, or what the call returns (no quote ID or object shape), which is a notable gap for an unannotated mutation tool.

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?

Three short sentences, front-loaded with purpose, then behavior, then the hard requirement. Nothing is padded, though the naming-series requirement could have been folded in more tightly.

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?

For a 10-parameter, nested-object creation tool with no output schema and no annotations, the description covers purpose and one prerequisite but omits the return value and any permission/error behavior. The rich schema compensates for parameter detail, but the post-call picture is incomplete.

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 schema already documents all 10 parameters thoroughly, including the serieId-over-serialCode priority and the tax enum. The description only restates the serieId/serialCode requirement and the tax auto-calculation, adding no semantics beyond the schema; 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?

The description names a specific verb and resource ("Create a quote") and adds the Spanish synonym "presupuesto" plus lifecycle context (sent to clients, convertible to an invoice). That distinguishes it reasonably from create_invoice and the other create_* siblings, though it never explicitly says so.

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?

It states one hard prerequisite ("Requires either serieId or serialCode to assign a numbering series"), which is real usage guidance for invocation. But there is no when-to-use versus when-to-use-an-alternative guidance, e.g. quote vs. direct invoice, so the agent must infer the choice.

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