Skip to main content
Glama
holded-mcp-server

holded-mcp-server

holded_create_purchase

Register a new purchase invoice (expense) in Holded by providing a contact and at least one line item, so supplier bills and expenses are recorded automatically.

Instructions

Registra una nueva factura de compra (gasto). 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_purchase"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoFecha de la factura en Unix timestamp
itemsYesLíneas de la factura
contactIdYesID del contacto (proveedor)
invoiceNumNoNúmero de factura del proveedor
expenseAccountIdNoID de la cuenta de gasto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/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 implies mutation via 'nueva'. It omits permissions required, irreversibility, failure behavior, and what the response returns (e.g., the created invoice ID). For a write operation with zero annotation coverage, this is a substantial 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?

Two short, front-loaded sentences with no wasted wording; the resource type comes first and the requirement second. It is efficient, though the brevity borders on under-specification for a write tool.

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 5-parameter mutation tool with no annotations and no output schema, the description is too thin. It says nothing about the return value (whether the created purchase ID is returned) or side effects, which an agent needs to chain calls correctly.

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 coverage is 100%, so every parameter is already documented in the schema. The description only echoes the two required fields (contact and items) without adding format or usage meaning beyond the structured fields. Baseline 3 applies when the schema does the heavy lifting.

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 states a specific verb and resource: 'Registra una nueva factura de compra (gasto)'. The word 'nueva' distinguishes it from update/get/pay siblings, though no sibling is explicitly named.

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?

It implies use for creating a new purchase invoice and states prerequisites ('Requiere un contacto y al menos un item'). However, it gives no explicit when/when-not guidance and does not point to alternatives such as holded_update_purchase or holded_pay_purchase.

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