Skip to main content
Glama

Navrh vydane faktury

create_invoice_draft

Vytvori NAVRH vydane faktury. Faktura ceka na schvaleni v dashboardu DokladBot, nikdy se sama neodesila odberateli.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
dueDateNoYYYY-MM-DD, vychozi +14 dni
buyerDicNo
buyerIcoNo
currencyNoVychozi CZK
buyerNameYesJmeno/nazev odberatele
issueDateNoYYYY-MM-DD, vychozi dnes
buyerAddressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, it discloses the key behavioral trait: the result is a draft requiring approval and is never sent to the buyer automatically. Annotations already cover safety/idempotency, so this lifecycle detail is the valuable addition; it does not discuss what happens on repeated calls, though idempotentHint=false already signals that.

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, front-loaded with the action and the critical 'draft only, never sent' constraint. Nothing extraneous.

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 9-parameter mutation with no output schema, the description covers the lifecycle well but leaves parameter-level guidance entirely to an incomplete schema. It is adequate about what the tool produces, thin about how to invoke it correctly.

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 44% across 9 parameters, so the description should compensate, but it says nothing about buyer details, items, VAT rates, dates or currency. All parameter meaning must be gleaned from the schema, which is itself incomplete.

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 and emphasizes the 'NAVRH' (draft) nature of the created invoice, which distinguishes it from any actual invoice issuance. It does not reference any sibling tool by name, so it stops short of full sibling differentiation.

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 implies the follow-up workflow (draft waits for approval in the DokladBot dashboard) but never names the approval tool (e.g. approve_document) or states preconditions. Usage is inferable but not explicitly routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources