Skip to main content
Glama

Invoice settings

invoice_settings
Idempotent

Invoice settings: business details and logo, payment instructions, email wording, numbering, currencies, tax rates and numbers, overdue reminders, time billing. get, or set (omitted fields unchanged; nextNumber only moves forward).

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": "invoice_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
logoUrlNoAn https:// image address ("" removes it). Uploading a file is done in the app.
remindersNoOverdue reminders emailed to customers: { enabled, days (after due, up to 5, 1-90), before (days before due, up to 2) }. Omitted keys stay. Switching on emails customers; confirm.
currenciesNoOther currencies billed in: { "USD": "0.73" } (1 of the default currency = this many); "" fetches a rate. Replaces the list.
nextNumberNo
taxNumbersNoPrinted tax registrations: [{ label ("GST/HST #"), number }]. Replaces the list.
taxPresetsNoSaved tax rates offered on new lines: [{ name, rate ("13"), is_default? }]. Replaces the list.
timeBillingNoTime on invoices: { rounding_minutes 0|6|10|15|30, rounding_mode up|nearest, default_rate ("90", or "" for none) }. Omitted keys stay.
businessNameNo
defaultNotesNo
emailMessageNoInvoice email message; same tokens. "" = the default.
emailSubjectNoInvoice email subject; tokens {number} {business} {customer} {amount} {due}. "" = the default.
numberPrefixNoe.g. "INV-", max 16 chars.
businessEmailNo
businessPhoneNo
businessTaxIdNoOne bare number; taxNumbers (labelled) are printed instead when set.
numberPaddingNoMin digits 1-12.
businessAddressNo
businessWebsiteNo
defaultCurrencyNo
defaultTermsDaysNo
defaultTermsTextNo
paymentInstructionsNoHow to pay (bank details, link).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / businessTaxId / description
      Added value: +"One bare number; taxNumbers (labelled) are printed instead when set."
    • addedInput schema / properties / businessWebsite
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / currencies
      Added value: +{
      +  "description": "Other currencies billed in: { \"USD\": \"0.73\" } (1 of the default currency = this many); \"\" fetches a rate. Replaces the list.",
      +  "type": "object"
      +}
    • addedInput schema / properties / emailMessage
      Added value: +{
      +  "description": "Invoice email message; same tokens. \"\" = the default.",
      +  "type": "string"
      +}
    • addedInput schema / properties / emailSubject
      Added value: +{
      +  "description": "Invoice email subject; tokens {number} {business} {customer} {amount} {due}. \"\" = the default.",
      +  "type": "string"
      +}
    • addedInput schema / properties / logoUrl
      Added value: +{
      +  "description": "An https:// image address (\"\" removes it). Uploading a file is done in the app.",
      +  "type": "string"
      +}
    • addedInput schema / properties / reminders
      Added value: +{
      +  "description": "Overdue reminders emailed to customers: { enabled, days (after due, up to 5, 1-90), before (days before due, up to 2) }. Omitted keys stay. Switching on emails customers; confirm.",
      +  "properties": {
      +    "before": {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "type": "array"
      +    },
      +    "days": {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "type": "array"
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / taxNumbers
      Added value: +{
      +  "description": "Printed tax registrations: [{ label (\"GST/HST #\"), number }]. Replaces the list.",
      +  "items": {
      +    "properties": {
      +      "label": {
      +        "type": "string"
      +      },
      +      "number": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "number"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 6,
      +  "type": "array"
      +}
    • addedInput schema / properties / taxPresets
      Added value: +{
      +  "description": "Saved tax rates offered on new lines: [{ name, rate (\"13\"), is_default? }]. Replaces the list.",
      +  "items": {
      +    "properties": {
      +      "is_default": {
      +        "type": "boolean"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "rate": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "rate"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / timeBilling
      Added value: +{
      +  "description": "Time on invoices: { rounding_minutes 0|6|10|15|30, rounding_mode up|nearest, default_rate (\"90\", or \"\" for none) }. Omitted keys stay.",
      +  "properties": {
      +    "default_rate": {
      +      "type": "string"
      +    },
      +    "rounding_minutes": {
      +      "enum": [
      +        0,
      +        6,
      +        10,
      +        15,
      +        30
      +      ],
      +      "type": "integer"
      +    },
      +    "rounding_mode": {
      +      "enum": [
      +        "up",
      +        "nearest"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive, open-world write. Beyond those, the description adds two genuinely useful rules: omitted fields are left unchanged (merge semantics) and nextNumber is monotonic. It does not warn that list-valued fields (currencies, taxPresets, taxNumbers) replace wholesale — that only appears in the schema — but nothing here contradicts the annotations.

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, the first listing scope and the second front-loading the operational rules that matter most for a set call. Nothing is redundant and no padding is present.

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 23-parameter, nested-object, no-output-schema tool, the description covers intent and merge behavior but leaves half the parameters undocumented and says nothing about what a get returns. Adequate as a starting point, but not complete enough for confident single-shot invocation.

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 23 parameters and only ~52% schema description coverage, the description's field-category enumeration helps an agent map intent to parameters, and the nextNumber note adds real meaning. However it gives no syntax, formats, or limits for the roughly half of parameters whose schema entries carry no description.

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 names the resource (invoice settings) and enumerates the concrete domains it holds — business details/logo, payment instructions, email wording, numbering, currencies, tax, reminders, time billing — plus the two actions (get/set). That is far more specific than a restated title, though it never names a sibling (e.g. sending_settings) to delimit the boundary.

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?

It states the two modes ('get, or set') so the action choice is clear, but gives no guidance on when to edit settings here versus via a related tool such as sending_settings or invoices_manage. Usage is implied by the field list rather than explicitly routed.

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