Skip to main content
Glama
ucetka-mcp

ucetka-mcp

Show supplier profile

get_supplier
Read-onlyIdempotent

Retrieve your business's invoicing details—name, company ID, VAT ID, VAT status, address, and default bank account—to verify invoice issuer data and the account new invoices use by default.

Instructions

Return the user's own business details (the invoicing supplier): name, IČO (company ID), DIČ (VAT ID), VAT-payer status, address and the default bank account used on new invoices.

Read-only; reads ~/.ucetka/supplier.yaml, no network. Use it to check who invoices are issued as or which account issue_invoice will use by default; for customers use list_customers, for any other company lookup_company. Fails with FileNotFoundError if the profile has not been created with ucetka init.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_supplier"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so the baseline is low. The description adds valuable context beyond that: it reads ~/.ucetka/supplier.yaml with no network access, fails with FileNotFoundError when uninitialized, and supplies defaults used by issue_invoice.

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?

The description is front-loaded with the core purpose and returned fields, then follows with usage routing and failure behavior. Every sentence adds useful information without repetition or padding.

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

Completeness5/5

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

For a zero-parameter read tool with an output schema, this is complete: it identifies the source file, network behavior, failure mode, initialization prerequisite, sibling routing, and the issue_invoice dependency. The output schema can carry return formatting, so the description does not need to do more.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no input semantics to document, which meets the baseline of 4. The description does add meaning around the values returned and downstream use by issue_invoice, but that is not strictly parameter guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: return the user's own supplier/business profile. It enumerates the returned fields (name, IČO, DIČ, VAT status, address, default bank account), which clearly distinguishes it from list_customers and lookup_company.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it: to check who invoices are issued as or which account issue_invoice will use by default. It also names the alternatives for customers (list_customers) and any other company (lookup_company), and gives the prerequisite that the profile must be created with `ucetka init`.

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