Skip to main content
Glama

mark_invoice_sent

Marks an invoice as sent without emailing it, for cases where the PDF is delivered externally or through another channel.

Instructions

Mark an invoice as sent without e-mailing it (external print), e.g. when the PDF is sent another way.

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": {
      "document_number": "<document_number>"
    },
    "name": "mark_invoice_sent"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.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; it does disclose the most important behavior, namely that this changes invoice status without actually sending anything. It is silent on permission requirements, idempotency (what happens if the invoice is already marked sent), reversibility, and what is returned.

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?

One tight sentence with the key distinction ('without e-mailing it') front-loaded and the example parenthetical carrying the use case. Nothing is padded or repeated.

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 two-parameter mutation with no annotations and no output schema, the definition explains the intent well but leaves the dry_run flag and the post-call state entirely undocumented. An agent could call it correctly on intent alone, but not confidently about side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description should compensate, but it mentions neither parameter. 'document_number' is guessable from the name, yet 'dry_run' — a flag with real behavioral consequences — is never explained, nor is the accepted format of the document number.

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 ('Mark') plus resource ('an invoice') and qualifies the state change as 'as sent' without e-mailing, which separates it in spirit from send_invoice_email. It stops short of naming the sibling it displaces, so an agent must infer that routing rather than read it.

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?

'without e-mailing it (external print), e.g. when the PDF is sent another way' gives a concrete scenario that selects this tool over an e-mail-sending alternative. There is no explicit statement of when not to use it or of preconditions such as the invoice needing to exist in a draft state.

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