Skip to main content
Glama

Add Invoice Line Item

add_invoice_line_item

Add a billable line item to a draft or sent invoice; totals are recomputed automatically. Blocked once paid/void. invoice_id is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quantityNoDefault 1.
invoice_idYes
unit_priceYes
descriptionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

TDQS

A4.2/5.0
Behavior4/5

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

The description adds valuable behavioral context beyond the annotations: it mentions that totals are recomputed automatically and that the operation is blocked once the invoice is paid or void. Since annotations are all false and don't provide this level of detail, the description enriches the agent's understanding of the tool's side effects and constraints.

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?

The description is extremely concise: two sentences that convey the essential purpose, behavior, and a key restriction. It is front-loaded with the core action and avoids any unnecessary words or repetition of schema details.

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 relatively simple tool with an output schema, the description covers the main points: what it does, when it's allowed, and a key automatic behavior. It doesn't explain the response format, but that's covered by the output schema. It could mention error scenarios beyond the paid/void block, but overall it is complete enough for an agent to invoke it correctly.

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?

The input schema has low description coverage (only quantity has a default note). The description adds some meaning by labeling the line item as 'billable' and mentioning unit_price implicitly, but it does not explicitly explain the purpose of each parameter. It confirms that invoice_id is required, which helps, but the semantics of description, unit_price, and quantity are left mostly to the schema's names and types.

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?

The description clearly states the tool's function: adding a billable line item to a draft or sent invoice. It distinguishes this from sibling tools like create_invoice and update_invoice by specifying the specific action (add line item) and the target resource (existing invoice). The scope is further clarified with 'draft or sent invoice'.

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 implies when to use this tool: when you need to add a line item to an existing invoice, as opposed to creating or updating the invoice itself. It does not explicitly name alternative tools, but the context is clear from the sibling list. It also provides a clear exclusion ('Blocked once paid/void'), which helps agents understand when not to use it.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Every tool targets a distinct resource and action, with detailed descriptions that clearly separate overlapping domains (e.g., consulting vs. marketing vs. outreach). Even within the same domain, tools like 'create_consulting_deliverable' and 'create_consulting_document_revision' are unambiguous due to their specific nouns.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., 'create_invoice', 'get_deal', 'list_agents'). The few exceptions like 'locus_determine_from_scores' still adhere to the verb_noun structure and do not break the pattern.

Tool Count1/5

With 124 tools, the server is massively over-scoped for typical MCP use. The tool count far exceeds the '50+ extreme mismatch' threshold, making it nearly impossible for an agent to efficiently navigate or select the right tool without extensive context. Even a large platform should consolidate or expose fewer tools.

Completeness5/5

The tool surface covers CRUD and lifecycle operations across at least 10 domains (sales, consulting, marketing, outreach, accounting, workflows, ticketing, API keys, feedback, platform metrics). Each domain appears to have no obvious gaps—e.g., invoicing includes create, update, send, mark paid, void; ticketing includes create, update, archive, dependencies, batch, scenarios, validation.

Resources