Skip to main content
Glama
holded-mcp-server

holded-mcp-server

holded_update_invoice

Update an existing Holded sales invoice by changing its date, due date, currency, contact, line items, notes, or numbering series using the invoice ID.

Instructions

Actualiza una factura de venta existente.

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

Input Schema

NameRequiredDescriptionDefault
dateNoNueva fecha en Unix timestamp
itemsNoNuevas líneas de la factura
notesNoNuevas observaciones
dueDateNoNueva fecha de vencimiento en Unix timestamp
currencyNoNuevo código de moneda
contactIdNoNuevo ID del contacto
documentIdYesID de la factura a actualizar
numSerieIdNoNuevo ID de serie de numeración

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses almost nothing. It does not say whether this is a partial or full replacement update, what happens to items omitted from the request, whether the invoice state (e.g. already paid) restricts updates, or what permissions are required. Only the mutation nature is conveyed, and that is largely inferable from the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of waste, but at this length the terseness is under-specification rather than effective concision for an 8-parameter mutation tool. There is no structure to speak of beyond one clause.

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 sales-invoice mutation with 8 parameters, no annotations, and no output schema, the definition leaves too much unstated. An agent cannot tell from the description whether the update is destructive to existing line items, whether totals are recalculated, or what the tool returns on success or failure.

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%, with each of the 8 parameters individually documented including nested item fields, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no additional meaning about how the parameters interact, such as whether supplying `items` replaces all existing lines.

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 pairs a specific verb ("Actualiza") with a specific resource ("una factura de venta existente"), and "de venta" usefully narrows this to sales invoices rather than purchase documents. It does not, however, distinguish itself from siblings such as holded_create_invoice or holded_get_invoice, so the differentiation is implicit in the verb only.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives (create vs get vs pay vs update), and no prerequisites are mentioned. The word "existente" faintly implies the invoice must already exist, but no conditions, exclusions, or failure modes are stated.

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