Skip to main content
Glama

Field Service Business Platform by Doing Work

invoices_createFromQuote

Create an invoice for a signed quote, for the total of the option and optional lines the customer picked. A quote imported as history cannot be invoiced.

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": {
      "quote_id": "<quote_id>"
    },
    "name": "invoices_createFromQuote"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYes
deposit_minorNoOptional deposit asked for on the first send

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-open-world write, so the safety profile is covered. The description adds meaningful behavior beyond that: the invoice total is derived from the option and optional lines the customer chose rather than supplied by the caller, and history-imported quotes are rejected. It omits idempotency, permission requirements, and whether the invoice is created as a draft or sent.

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 sentences, front-loaded with the action and its source, with the eligibility constraint stated second. No filler or redundant restatement of the tool name.

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 output schema, the definition covers the core rule but leaves the agent guessing about the returned value (invoice id? draft status?) and the effect of deposit_minor on the computed total. Adequate but with clear gaps for a creation 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?

Schema coverage is 50%: deposit_minor is documented in the schema, while quote_id has no schema description. The description partially compensates by constraining quote_id semantically to a signed, non-history quote, but it never says where to obtain that id or how deposit_minor interacts with the derived total.

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 states a specific verb and resource (create an invoice) and narrows the source to a signed quote whose option/optional lines the customer selected, which implicitly separates it from generic invoices_create and invoices_createFromTm. It does not name any sibling, so an agent must infer the distinction from the sibling list rather than the text.

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?

It gives a clear precondition (the quote must be signed) and an explicit exclusion (a quote imported as history cannot be invoiced), which is real when-not guidance. It stops short of pointing the agent at an alternative path for history-imported quotes or naming the sibling to use for non-quote invoices.

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.