Skip to main content
Glama

Manage quotes

quotes_manage
Destructive

Quotes. save_draft (create, or edit by id), issue (numbers it), send (emails it with an accept link; confirm), record_outcome (accepted / declined after a conversation), convert (accepted → draft invoice), void, public_link (the accept link; revoke).

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": {
      "action": "<action>"
    },
    "name": "quotes_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRequired for: issue, send, record_outcome, convert, void, public_link; optional for: save_draft. Edit this draft.
toNoDefault: billing email, then the contact's email.
linesNoitemId (saved item) or name + unitPrice. Decimal strings. taxIds: which of the taxes apply (default all).
notesNo
taxesNo[{id?,name,rate}], e.g. GST 5 + QST 9.975 (ids t1,t2…).
termsNoWhat the customer agrees to by accepting.
actionYes
reasonNoDeclined: optional reason.
revokeNopublic_link: turn the link off.
chargesNoBelow the subtotal (shipping); negative for a discount or deposit.
messageNoCovering note; same tokens.
outcomeNo
sendViaNoDefault: their own mailbox, then Resend, then Groundbase's address.
subjectNoTokens {number} {business} {customer} {amount} {due}.
currencyNoISO 4217. Defaults from the billing profile.
companyIdNo
contactIdNoCreate: one of contactId/companyId.
fromEmailNoSend from this address: a mailbox or send-as alias (email_read accounts).
issueDateNoYYYY-MM-DD. Default today.
validUntilNoYYYY-MM-DD. Default issue date + 30 days.
confirm_paidNoVoid despite a deposit.
depositAmountNoe.g. "500.00". Empty string removes.
acceptedByNameNoAccepted: who said yes, e.g. "Dana (by phone)".
depositPercentNoe.g. "25". Empty string removes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / charges / items / properties / taxIds
      Added value: +{
      +  "description": "Which of the document taxes apply (default none).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / fromEmail
      Added value: +{
      +  "description": "Send from this address: a mailbox or send-as alias (email_read accounts).",
      +  "type": "string"
      +}
    • addedInput schema / properties / sendVia / description
      Added value: +"Default: their own mailbox, then Resend, then Groundbase's address."
    • changedInput schema / properties / sendVia / enum
      Previous value: -[
      -  "smtp",
      -  "resend"
      -]New value: +[
      +  "smtp",
      +  "resend",
      +  "groundbase"
      +]
  2. Changed7 schema fields changed
    • changedInput schema / properties / charges / description
      Previous value: -"Charges below the subtotal (shipping, rush fee); a negative amount for a deposit or discount."New value: +"Below the subtotal (shipping); negative for a discount or deposit."
    • removedInput schema / properties / charges / items / properties / amount / description
      Removed value: -"Decimal string."
    • changedInput schema / properties / lines / description
      Previous value: -"Line items: itemId (saved item, priced in this currency) or name + unitPrice for a one-off. Amounts are decimal strings."New value: +"itemId (saved item) or name + unitPrice. Decimal strings. taxIds: which of the taxes apply (default all)."
    • removedInput schema / properties / lines / items / properties / quantity / description
      Removed value: -"e.g. \"1.5\"."
    • addedInput schema / properties / lines / items / properties / taxIds
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / lines / items / properties / taxRate / description
      Removed value: -"Percent, e.g. \"17.5\". Defaults from the item."
    • addedInput schema / properties / taxes
      Added value: +{
      +  "description": "[{id?,name,rate}], e.g. GST 5 + QST 9.975 (ids t1,t2…).",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / confirm_paid
      Added value: +{
      +  "description": "Void despite a deposit.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Edit this draft. Omit to create."New value: +"Required for: issue, send, record_outcome, convert, void, public_link; optional for: save_draft. Edit this draft."
  5. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, readOnlyHint=false and non-idempotent, so the safety profile is covered. The description still adds real context beyond them: it discloses that send actually emails a customer with an accept link (external, irreversible human contact), that issue mutates numbering, that convert creates a downstream invoice, and that public_link can be revoked. It does not spell out irreversibility of void or what happens to a deposit, but the addition is substantive.

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?

One sentence, front-loaded with the resource, then an action-ordered catalogue where every item earns its place; no filler. The telegraphic fragment style ('void,') is efficient but occasionally too clipped to read unambiguously on first pass.

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 24-parameter, destructive, open-world tool with no output schema, the description covers the action vocabulary but not action preconditions, error cases, or what save_draft returns (the id needed by every other action). It is a good index of the actions but not a complete operating guide.

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 83%, which sets the baseline at 3 for a 24-parameter tool. The description contributes by tying a few parameters to actions (public_link→revoke, send→accept link/confirmation, convert→invoice), but it says nothing about the heavy parameters (lines, taxes, charges, token syntax in subject/message) that the schema must carry alone. Marginal value over the schema.

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 opens with the resource (quotes) and enumerates every action with a compact verb-plus-effect gloss: 'issue (numbers it)', 'send (emails it with an accept link)', 'convert (accepted → draft invoice)', 'void', 'public_link (the accept link; revoke)'. An agent can tell what each action does without opening the enum. It loses a point because it never differentiates itself from obvious siblings such as quotes_list (reading) or invoices_manage, so the boundary has to be inferred.

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 is encoded in lifecycle fragments rather than stated: 'record_outcome (accepted / declined after a conversation)' and 'convert (accepted → draft invoice)' imply state gating, and 'send (...; confirm)' hints that sending needs confirmation. There is no explicit when-not guidance, no prerequisites (e.g. must a draft be issued before sending), and no routing to quotes_list for reads. Adequate but leaves sequencing to inference.

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.

Resources