Skip to main content
Glama
holded-mcp-server

holded-mcp-server

holded_create_invoice

Create a new sales invoice in Holded by providing a contact and at least one item; optionally set dates, currency, taxes, discounts, and notes.

Instructions

Crea una nueva factura de venta. Requiere un contacto y al menos un item.

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": {
      "contactId": "<contactId>",
      "items": "<items>"
    },
    "name": "holded_create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFecha de la factura en Unix timestamp
itemsYesLíneas de la factura
notesNoObservaciones de la factura
dueDateNoFecha de vencimiento en Unix timestamp
currencyNoCódigo de moneda (ej: EUR, USD)
contactIdYesID del contacto (cliente)
numSerieIdNoID de la serie de numeración

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only restates that a record is created. It says nothing about whether the invoice is created as draft or issued, whether stock or accounting entries are affected, whether it can be sent automatically, or what permissions/credentials are needed for a write operation.

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 followed immediately by the hard precondition. Nothing is redundant or padded.

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

Completeness2/5

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

For a 7-parameter mutation tool with no annotations and no output schema, the description is too thin. It never explains what the call returns (e.g., the new invoice ID) or what side effects accompany creation, which an agent needs before committing a write.

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 100%, so every field (date, items, currency, dueDate, numSerieId, contactId, notes) is already documented in the schema. The description only echoes the required contact and minimum-one-item constraint that the schema already encodes via 'required' and 'minItems: 1'.

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: 'Crea una nueva factura de venta' (creates a new sales invoice). The verb 'crea' plus 'nueva' clearly separates it from the get/update/delete/pay/send invoice siblings, though no sibling is named explicitly.

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?

Gives a prerequisite ('Requiere un contacto y al menos un item') but no guidance on when to use this versus holded_create_estimate or holded_create_purchase, which are the plausible alternatives an agent would weigh. Usage is implied by the object type rather than stated.

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