Skip to main content
Glama
Čebelca MCP server

Čebelca MCP server

by egorperp

find_or_create_partner

Find a customer by VAT ID or name, create the partner if missing, and return the partner ID for invoicing.

Instructions

Find a customer by VAT ID or name, or create it if it does not exist. Returns the partner id.

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": {
      "name": "<name>"
    },
    "name": "find_or_create_partner"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
nameYes
postalNo
streetNo
vat_idNoSlovenian VAT ID, e.g. SI12345678

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, and the description is consistent with that by announcing a possible create. It adds the return value, but says nothing about match strictness (exact vs fuzzy name), what happens on duplicate calls or empty result sets, or what permissions are needed to create — meaningful gaps for a write-capable tool.

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 zero filler; the operation and its side effect are front-loaded and the return value is stated last. Nothing needs trimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter upsert with no output schema, the definition covers the essential mental model: two lookup keys, an optional create, and a returned id. The remaining gap is the address parameters and duplicate/ambiguity behavior, which keeps it short of complete but still workable.

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 description coverage is only 20% (just vat_id's Slovenian format), so the description carries most of the burden. It does disclose that name and vat_id are the lookup keys, which is genuinely useful, but leaves city, postal, and street entirely unexplained — an agent cannot tell whether those are used only on creation or also affect matching.

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 pair and resource: find a customer by VAT ID or name, or create it if absent, and names the return value (partner id). The upsert nature is unambiguous; it just never names search_partners as the read-only alternative, so sibling differentiation is left implicit.

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 phrase 'or create it if it does not exist' implies when to reach for this tool (you need a partner id and don't know whether the record exists), which is real usage guidance. However, there is no explicit when-not or pointer to search_partners for a pure lookup, and no guidance on which identifier to prefer when both name and vat_id are supplied.

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