Skip to main content
Glama
Community Finmap MCP Server

Community Finmap MCP Server

finmap_invoice_create

Create a new Finmap invoice with line items and pass a unique externalId so retries cannot create duplicate records.

Instructions

Create a new invoice. Pass externalId so a retry cannot create a duplicate.

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": {
      "invoiceNumber": "<invoiceNumber>",
      "invoiceCompanyId": "<invoiceCompanyId>",
      "supplierId": "<supplierId>",
      "invoiceCompanyDetails": "<invoiceCompanyDetails>",
      "supplierDetails": "<supplierDetails>",
      "invoiceCurrency": "<invoiceCurrency>",
      "goods": "<goods>"
    },
    "name": "finmap_invoice_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate (YYYY-MM-DD, stored as 00:00 UTC)
goodsYesArray of invoice line items
commentNo
shippingNoShipping cost
externalIdNoYour unique ID for this record. Recommended: pass the same value on a retry and Finmap rejects the duplicate (409) instead of creating it twice. Finmap generates one if omitted.
supplierIdYesClient/supplier ID
invoiceNumberYesInvoice number
invoiceCurrencyYesCurrency code (CZK, EUR, USD, etc.)
supplierDetailsYesClient details (IBAN, etc.)
invoiceCompanyIdYesYour company ID (use finmap_invoice_companies)
discountPercentageNoDiscount %
invoiceCompanyDetailsYesYour company details (IBAN, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is covered. The description usefully adds that externalId gives retry-safety despite the tool not being inherently idempotent, but it does not mention permissions, required-field failures, or what happens to the seven mandatory fields if omitted. The 409 behavior it alludes to is already spelled out in the schema.

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, no filler, with the operation stated first and the highest-value practical tip second. Nothing could be removed without losing information.

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 12-parameter, 7-required create tool with no output schema, the description is thin: it never mentions that invoiceCompanyId should come from finmap_invoice_companies or that goods is a nested line-item array. The rich schema compensates substantially, keeping this at an adequate 3 rather than lower.

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 92%, so the schema already documents all 12 parameters in detail, including the full 409 duplicate-rejection semantics for externalId. The description only surfaces externalId, adding emphasis rather than new meaning, which matches the baseline 3 for a high-coverage schema.

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: "Create a new invoice." An agent immediately knows the operation. It offers no differentiation from sibling creation tools such as finmap_expense_create or finmap_income_create, so it stops short of a 5.

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 second sentence gives a concrete retry hint ("Pass externalId so a retry cannot create a duplicate"), which is genuine usage guidance for the retry scenario. However, there is no statement of when to prefer this tool over siblings, no prerequisites, and no exclusions.

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