Skip to main content
Glama
Čebelca MCP server

Čebelca MCP server

by egorperp

finalize_invoice

Destructive

Issue a draft invoice as a non-fiscal document for bank transfer payment. This action cannot be undone.

Instructions

Issue a draft invoice (non-fiscal, e.g. paid by bank transfer). This cannot be undone.

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": {
      "invoice_id": "<invoice_id>",
      "number": "<number>"
    },
    "name": "finalize_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesInvoice number, e.g. 26-0044
confirmNo
invoice_idYes

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 already declare destructiveHint=true and readOnlyHint=false; the description reinforces this with the explicit warning 'This cannot be undone,' which tells the agent the consequence of the call. It does not mention the confirm flag gating the action, but it does add real behavioral context beyond the 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?

Two short sentences, zero filler, and the irreversibility warning is placed where it will be read. Nothing could be removed without losing meaning.

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 an irreversible mutation with no output schema, the definition covers the essential hazard but omits what success returns (e.g. whether the invoice number is consumed/generated) and how the confirm flag interacts with the call. Adequate but with visible gaps.

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 coverage is only 33% (only 'number' is documented in the schema), and the description adds no meaning to invoice_id or confirm — notably the confirm boolean, which is behaviorally significant for an irreversible action. With two of three parameters undocumented anywhere, the description fails to compensate.

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?

States a specific verb (Issue) and resource (draft invoice) plus a qualifier that scopes it to non-fiscal invoices, so an agent can distinguish finalization from the sibling create_invoice_draft. It stops short of naming that sibling explicitly, so the differentiation is implied rather than stated.

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 parenthetical 'non-fiscal, e.g. paid by bank transfer' gives a usage context that implies when this tool applies versus fiscal invoicing. However, it never tells the agent to use create_invoice_draft instead when the invoice is still being prepared, nor are prerequisites stated.

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