Skip to main content
Glama
Čebelca MCP server

Čebelca MCP server

by egorperp

add_payment

Record a full or partial payment on an invoice, with a preview returned unless confirmation is given.

Instructions

Record a (partial) payment on an invoice. Without confirm it only returns a preview.

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>",
      "amount": "<amount>"
    },
    "name": "add_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYes
confirmNo
date_ofNo
invoice_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, idempotentHint=false, destructiveHint=false, which does not reveal that the default path performs no write at all. The description discloses that non-confirmed calls are preview-only, a non-obvious trait that directly changes how an agent should sequence calls. It stops short of covering failure modes (overpayment, closed invoice) or idempotency of repeated confirmed calls.

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 with no filler, and the core action is front-loaded before the important confirm/preview caveat. Every clause earns its place.

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 four-parameter mutation tool with no output schema and terse annotations, the description covers the essential action and the preview mechanism but leaves real gaps: the meaning of date_of, what the preview response contains, and what happens on invalid amounts or already-settled invoices. Adequate as a minimum-viable definition, not complete.

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 0%, so the description must carry parameter meaning and only partially does. It effectively documents the behavior of 'confirm' (default false yields a preview) and hints that 'amount' may be less than the invoice total, but 'date_of' is never mentioned and 'invoice_id' is only implied.

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 and resource: recording a payment against an invoice, and adds the qualifier '(partial)' which signals that partial payments are supported rather than full settlement only. This is clearly distinct from drafting or finalizing an invoice, though it never names a sibling to route against.

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 sentence 'Without confirm it only returns a preview' gives an actionable usage pattern (call it as a dry run first), which is genuinely useful. However, it offers no guidance on when to prefer this over other invoice workflows, no prerequisites (e.g. invoice must exist and be open), and no statement about when the preview should be followed by a confirmed call.

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