Skip to main content
Glama
holded-mcp-server

holded-mcp-server

holded_get_invoice_pdf

Fetches the PDF version of a sales invoice by document ID and returns the file as base64-encoded data for download or processing.

Instructions

Obtiene el PDF de una factura de venta (devuelve datos en base64).

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_get_invoice_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesID de la factura

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one meaningful behavioral fact: the return payload is base64-encoded. It omits other relevant traits such as whether the invoice must be finalized, permission requirements, or failure behavior when no PDF exists.

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 the purpose front-loaded and the return encoding noted parenthetically; nothing is wasted. The parenthetical could be integrated more smoothly, but that is cosmetic.

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

Completeness4/5

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

For a simple one-parameter read tool with no output schema, the description covers both what it does and what it returns (base64), which is the key missing piece an output schema would otherwise supply. Remaining gaps are minor for a tool of this complexity.

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?

Only one parameter and schema coverage is 100%, so the schema already documents documentId as the invoice ID. The description adds marginal value by scoping that ID to a sales invoice, but supplies no format or identifier-type detail beyond the 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 (obtiene) and resource (PDF de una factura de venta), and the qualifier 'de venta' separates it from the sibling purchase-invoice PDF tool without naming it. Clear enough to act on, though it never explicitly routes against holded_get_invoice.

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?

Usage is only implied: the agent can infer this is for retrieving a rendered sales-invoice PDF rather than invoice data. There is no explicit when-to-use, no exclusion of alternatives such as holded_get_invoice or holded_get_purchase_pdf.

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