Skip to main content
Glama

Invoice render

invoicewright.render

Render a numbered, print-ready invoice from line items. $0.25/call.

line_items: list of {"description": str, "qty": number, "rate_cents": int}.
Returns the invoice number, totals, tax, due date, and a printable HTML document.

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": {
      "customer": "<customer>",
      "line_items": "<line_items>"
    },
    "name": "invoicewright.render"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
customerYes
due_daysNo
line_itemsYes
customer_addressNo
tax_rate_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is not read-only, not idempotent, and closed-world; the description adds real value by disclosing the $0.25/call charge and what the call returns. However, it never warns that repeat calls are non-idempotent (likely generating a new numbered invoice each time), which is the most consequential behavior for an agent to know. That is a meaningful omission but not a contradiction.

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?

Three short lines, front-loaded with the action and the paid-call cost, followed by the item shape and return values. No filler, though the parameter line could have been extended slightly rather than left to carry only one field.

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?

Return values are summarized in the description, which partly substitutes for the absent output schema, and the item shape is covered. Still missing is any note on non-idempotent re-rendering, how the invoice number is sequenced, or what the remaining optional parameters do — meaningful gaps for a 6-parameter paid mutation.

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 0% and the line_items array has an empty item schema, so the description's specification of {description, qty, rate_cents} genuinely compensates for the biggest gap. The other five parameters (customer, customer_address, due_days, tax_rate_percent, notes) get no explanation at all, so the coverage is partial rather than complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and artifact ('Render a numbered, print-ready invoice from line items'), which is unambiguous and does not overlap with any sibling tool in the catalog.

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 explicit when-to-use or when-not-to-use guidance, no prerequisites, and no alternative named. The only usage-adjacent information is the per-call price, which hints at cost awareness but does not tell the agent when this tool is the right call.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources