Skip to main content
Glama

invoice-ninja

Mark an invoice sent

invoiceninja_mark_invoice_sent
Destructive

Mark a draft invoice as sent WITHOUT emailing it. This moves it out of draft and adds its amount to the client's balance. Invoice Ninja: GET /api/v1/invoices/{id}/mark_sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYesThe invoice's hashed id, e.g. "Wpmbk5ezJn".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With destructiveHint=true already declared, the description adds meaningful behavioral context beyond the annotation: it moves the invoice out of draft and adds the amount to the client's balance. It does not state whether the transition is reversible, which would complete the picture for a mutation.

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 tight sentences with the key distinction (no email) and the state effect front-loaded, followed by the backing endpoint. No filler.

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?

For a one-parameter mutation with no output schema, the description covers the essential side effects and the underlying endpoint. It is nearly complete, missing only reversibility/return behavior, which is minor here.

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% and the single invoice_id parameter is fully documented (hashed id with example). The description adds no format or constraint detail beyond the schema, so the baseline of 3 applies.

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 resource ('Mark a draft invoice as sent') with the crucial scope qualifier 'WITHOUT emailing it', which cleanly separates it from the sibling invoiceninja_email_invoice. An agent can tell exactly what this does and how it differs from the email path without opening a schema.

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 phrase 'WITHOUT emailing it' implicitly routes the agent here instead of email_invoice when no email should be sent, giving clear usage context. It stops short of explicitly naming the alternative or stating when the tool should not be used.

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.