Skip to main content
Glama
holded-mcp-server

holded-mcp-server

holded_update_purchase

Update an existing purchase invoice, including its date, supplier contact, invoice number, expense account, and line items.

Instructions

Actualiza una factura de compra 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_purchase"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoNueva fecha en Unix timestamp
itemsNoNuevas líneas de la factura
contactIdNoNuevo ID del contacto
documentIdYesID de la factura de compra a actualizar
invoiceNumNoNuevo número de factura del proveedor
expenseAccountIdNoNuevo ID de cuenta de gasto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/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 burden. It says nothing about whether this is a partial or full replacement update, whether omitted fields are preserved, whether supplying 'items' overwrites all existing invoice lines, or what permissions are needed for a mutation. For a write operation on financial documents, this is a significant gap.

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

Conciseness4/5

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

A single short sentence with no filler or repetition. It is efficiently front-loaded but arguably too terse to earn full marks given the complexity of the operation.

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 six-parameter mutation on a financial document with no annotations and no output schema, a one-sentence description leaves major behavioral questions unanswered, particularly partial-update semantics and the effect of replacing invoice line items.

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 the schema already documents all six parameters including the nested items fields. The description adds no additional meaning such as format hints, mutual exclusivity, or the consequences of changing documentId-related fields, so the baseline 3 applies.

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 (actualiza) and resource (factura de compra) and specifies it applies to an existing document, which separates it from create. It does not explicitly distinguish itself from the many other update_* siblings, so it falls 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 Guidelines4/5

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

The word 'existente' implies the document must already exist, giving a basic precondition and implicitly ruling out creation. However, there is no explicit when-to-use guidance, no mention of holded_create_purchase for new invoices or holded_delete_purchase for removal, and no prerequisites such as required permissions.

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