Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

get_invoice

Retrieves a specific invoice by UUID, returning it as JSON, XML, PDF (base64), or HTML with optional fields and print theme.

Instructions

[SANDBOX] Get a specific invoice by UUID. Formats: json, xml, pdf (base64), html.

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": {
      "uuid": "<uuid>"
    },
    "name": "get_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesInvoice UUID
fieldsNoFields to return (JSON only, dot-notation). Omit for all fields.
formatNoOutput format (default: json)json
print_themeNoPrint theme for PDF/HTML

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses the sandbox marker and the important nuance that PDF output is base64-encoded, but says nothing about permissions, what happens when the UUID is unknown, whether the format restriction applies to `fields` (only in schema), or whether missing print themes fall back to defaults.

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 identity, followed by the output options. Nothing is repetitive or wasted.

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

Completeness3/5

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

With no annotations and no output schema, the description could say more about the returned invoice shape and failure behavior. It covers how to invoke the tool but not what comes back beyond a format hint, which leaves a gap for a 4-parameter retrieval tool.

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 the schema already documents all four parameters, including the format enum and the JSON-only dot-notation restriction on `fields`. The description only echoes the format list and adds the base64 detail for PDF, so 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?

The description uses a specific verb and resource ('Get a specific invoice by UUID'), which clearly separates it from list_invoices and the send_* siblings without naming them. A '[SANDBOX]' prefix also signals the environment. It stops short of explicit sibling differentiation, but the UUID-scoped retrieval is unambiguous.

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: fetch one invoice when its UUID is already known. There is no explicit guidance on when to prefer this over list_invoices or extract_invoice_from_pdf when hunting for an invoice. Adequate but leaves the routing inference to the agent.

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