Skip to main content
Glama

scope-change

Invoice payload for an approved delta

change_order_invoice_payload

Build the approved delta as invoice_create-ready items in MAJOR units and quote_create-ready items in MINOR units, with VAT at the shared profile rate. Writes nothing and creates nothing. Pro.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tax_rateNoVAT percent for lines with no rate of their own, overriding the shared business profile's default
issue_dateNoThe invoice issue date, YYYY-MM-DD. Default today
change_orderYesThe change order id, e.g. CO-2026-0001, or its title when only one carries it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior1/5

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

The description claims 'Writes nothing and creates nothing,' but the annotations declare readOnlyHint=false, meaning the tool is explicitly not marked as read-only. That is a direct contradiction. No other behavioral details such as return shape, validation, errors, or auth requirements are added.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main content is compact and front-loaded, stating purpose and side-effect guarantee in two sentences. The trailing 'Pro.' is unnecessary and slightly detracts, but overall the description is not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a transformation/payload-builder with no output schema and no return-format explanation; an agent is left to guess what the generated items look like. The undefined 'MAJOR units'/'MINOR units' and the lack of any example or output shape make the description incomplete for a non-trivial tool.

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?

With 100% schema description coverage, the baseline is 3; the description adds little to the parameter semantics. It mentions VAT at the shared profile rate, aligning with tax_rate's override semantics already documented in the schema, but it does not elaborate on issue_date or change_order identification.

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 names a specific verb ('Build'), a specific resource ('the approved delta'), and the prepared output types ('invoice_create-ready items ... quote_create-ready items'), which clearly differentiates it from change_order_get, change_order_document, and the mutation siblings. The title reinforces that it produces a payload rather than performing a domain action.

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

Usage Guidelines3/5

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

Usage context is implied by 'approved delta' and the 'invoice_create-ready'/'quote_create-ready' wording, suggesting it is called before creating invoices/quotes from an approved change order. However, there is no explicit when-to-use, when-not-to-use, or naming of alternatives, so guidance is inferred rather than stated.

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.