Skip to main content
Glama

HamroLink Business OS MCP Server

invoice.update_status

Destructive

Updates the payment status of a sales invoice (paid, pending, void, or cancelled).

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": {
      "invoiceNumber": "<invoiceNumber>",
      "status": "<status>"
    },
    "name": "invoice.update_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesNew invoice status
invoiceNumberYesInvoice number
paymentMethodNoPayment method used
paymentReferenceNoTransaction reference ID
sendReceiptEmailNoSend confirmation receipt email (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, so the safety profile is covered, but the description adds nothing about reversibility, whether a void or cancel is recoverable, or the notable side effect that a receipt email is sent by default. For a destructive mutation, the description should at minimum flag irreversibility and the external email effect.

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?

A single front-loaded sentence with no filler; the scope constraint ('payment status') appears before the enumerated values. Nothing needs to be trimmed.

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?

For a 5-parameter destructive mutation with no output schema, the description covers the what but not the consequences, preconditions, or the default-enabled email side effect. An agent could invoke it correctly in the happy path but lacks the context to judge risk.

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 every parameter is already documented, and the description merely repeats the four status values the enum defines. It adds no meaning about paymentMethod/paymentReference requirements or how sendReceiptEmail interacts with the status change.

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 (updates) and a precisely scoped resource (the payment status of a sales invoice), so an agent can distinguish it from broader invoice edits. It does not, however, name or differentiate itself from the order-level status tools in the sibling list, leaving the invoice-vs-order choice to inference.

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 when-to-use guidance, no mention of preconditions such as the invoice existing or being in a compatible state, and no exclusions for when this should not be called. The only usage signal is the enum of valid statuses, which the schema already provides.

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.