Skip to main content
Glama
Čebelca MCP server

Čebelca MCP server

by egorperp

create_invoice_draft

Prepare an invoice draft with line items and VAT, returning a preview with totals; set confirm to true to create the invoice in Čebelca.

Instructions

Prepare an invoice draft. Without confirm it only returns a preview with totals.

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": {
      "partner_id": "<partner_id>",
      "items": "<items>"
    },
    "name": "create_invoice_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
confirmNofalse = preview only; true = create in Čebelca
due_daysNoDays until payment is due
date_sentNoIssue date YYYY-MM-DD, default today
partner_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety burden is partially lifted. The description still adds real value the annotations lack: the confirm gate that determines whether anything is persisted versus only a preview returned. It leaves open idempotency and duplicate-invoice behavior, which matters for a non-idempotent create 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?

Two short sentences, front-loaded with the action and immediately followed by the conditional behavior. No filler, but the brevity borders on under-specification for a five-parameter creation tool.

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?

With no output schema and only 55-60% schema coverage, the description should say more: what the preview totals contain, whether the created draft can later be finalized, and what partner_id refers to. It covers the confirm semantics but not the full picture an agent needs.

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 60%, so the baseline is 3. The description does explain the most consequential flag (confirm: preview vs. create in Čebelca), which the schema also documents, but says nothing about partner_id, due_days or date_sent beyond what the schema already provides.

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?

Specific verb+resource: 'Prepare an invoice draft' with a stated output ('preview with totals'). It is clear what the tool produces, though it does not differentiate itself from siblings such as finalize_invoice or calculate_totals, so an agent must infer the boundary itself.

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 gives an implicit two-step workflow: call without confirm to preview, then with confirm to actually create the invoice in Čebelca. However, it never states when to prefer this over finalize_invoice or calculate_totals, and gives no prerequisites or exclusions.

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