Skip to main content
Glama

Mark an invoice paid

mark_invoice_paid
Destructive

Prepares marking one invoice (by invoiceId) as fully paid. Does not perform the action itself: returns a confirmUrl, valid for 30 minutes. The action runs only after the user opens that link and presses Confirm in Netto.

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": {
      "invoiceId": "<invoiceId>",
      "customerName": "<customerName>"
    },
    "name": "mark_invoice_paid"
  }
}

Input Schema

NameRequiredDescriptionDefault
paidDateNoISO date payment received. Defaults to today.
invoiceIdYesUUID of the invoice to mark paid.
customerNameYesCustomer name for the confirmation reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=false, and the description adds the crucial context behind that: the tool only prepares the action, a confirmUrl is returned, it expires after 30 minutes, and nothing happens until the user presses Confirm in Netto. This human-in-the-loop safety behavior is exactly what annotations alone cannot convey.

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?

Three short sentences, front-loaded with what the tool does, immediately followed by the critical caveat that it does not execute the action. Every sentence carries information the agent needs and nothing is redundant.

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?

With no output schema, the description usefully explains the single meaningful return value (confirmUrl) and its 30-minute validity, which is the key detail an agent needs. Minor gaps remain, such as what happens if the link expires or whether repeated calls issue multiple links, but the definition is largely complete for this operation.

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 all three parameters (invoiceId, customerName, paidDate with its today default) are already documented. The description only reinforces invoiceId, adding no new semantics such as format constraints or how customerName is used in the confirmation reply.

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 and resource with scope: 'Prepares marking one invoice (by invoiceId) as fully paid.' The two-phase nature of the operation is clear enough that an agent can distinguish it from a direct mutation, though no sibling tool is named as an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes the usage model explicit: the tool does not perform the action, it returns a confirmUrl the user must open and confirm. That tells the agent exactly how to follow up. It stops short of saying when to prefer this over other invoice tools (e.g., reminders or query tools), so no true when-not guidance is present.

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