Skip to main content
Glama

Update an offer

update_offer
DestructiveIdempotent

Change an offer's fields (only those given): texts, client, buttons, protection, layout or status – status active reopens an accepted or declined offer. It never e-mails the client: it returns the offer link (url) to send yourself – sending by e-mail is done in HelpRange with a confirmation.

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": {
      "offer_id": "<offer_id>"
    },
    "name": "update_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoTitle the client sees (default: the folder / first document name)
accessNoWith e-mail verification: anyone, only client_email, or client_email and colleagues at the same company domain
blocksNoOffer content blocks in order: {"type": "heading"|"text", "text"}, {"type": "list", "items": [..]}, {"type": "terms", "heading", "text"}, {"type": "price_table"}, {"type": "accept", "text"}, {"type": "payment", "text"}, {"type": "image", "url"} (images uploaded in HelpRange). Replaces all blocks.
layoutNo
numberNoQuote number (default: the team's next one, e.g. OF/2026/007)
statusNoactive (also to reopen an accepted / declined offer), draft, accepted, declined, closed (archived)
messageNoMessage to the client on the offer page (up to 2000 characters)
currencyNoCurrency of the price table, ISO code like EUR (default: the team's billing currency)
offer_idYes
passcodeNoPasscode asked before the offer opens ("" removes it)
watermarkNo
expires_onNoLast day the offer works, YYYY-MM-DD ("" removes it)
recipientsNoPeople the offer is for besides the client (e.g. the CFO, procurement) – added, existing ones stay. Each gets a personal link (recipients[].url) that shows who opened and who accepted. Never e-mailed by the API.
price_tableNoInteractive price table: {"heading", "note", "items": [{"name", "description", "qty", "unit_price", "discount" (%), "tax" (%), "optional" (the client can tick it), "selected" (ticked at first), "editable_qty" (the client can change the quantity), "max_qty"}]}. Totals are calculated by HelpRange. Replaces the whole table.
show_acceptNo"Accept offer" button (default on)
accept_labelNo
client_emailNoThe client's e-mail (never e-mailed by the API)
payment_linkNoOptional https payment link (Stripe Payment Link, PayPal, invoice page) shown as "Pay now" after the client accepts ("" removes it)
show_contactNo"Request contact" button (default on)
show_declineNo"Decline" button with an optional reason (default off)
contact_labelNo
decline_labelNo
open_directlyNoOne-file offers: open the document directly instead of the offer page (default off)
price_summaryNoOne line, e.g. "3 packages, from 2,400 EUR"
allow_downloadNo
client_companyNo
client_last_nameNo
client_first_nameNo
require_signatureNoThe client signs (typed or drawn) to accept; a PDF certificate is kept (default off)
one_viewer_at_a_timeNoOnly one person can view at the same time
screenshot_protectionNoScreenshot protection (Pro and higher)
reminder_not_opened_daysNoE-mail the client a reminder if the offer is not opened after N days (null = off, the default)
reminder_not_accepted_daysNoReminder if opened but not accepted after N days (null = off)
require_email_verificationNoThe client verifies their e-mail with a one-time code before seeing anything (default on)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / recipients
      Added value: +{
      +  "description": "People the offer is for besides the client (e.g. the CFO, procurement) – added, existing ones stay. Each gets a personal link (recipients[].url) that shows who opened and who accepted. Never e-mailed by the API.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "properties": {
      +          "email": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "email"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  2. Changed7 schema fields changed
    • addedInput schema / properties / blocks
      Added value: +{
      +  "description": "Offer content blocks in order: {\"type\": \"heading\"|\"text\", \"text\"}, {\"type\": \"list\", \"items\": [..]}, {\"type\": \"terms\", \"heading\", \"text\"}, {\"type\": \"price_table\"}, {\"type\": \"accept\", \"text\"}, {\"type\": \"payment\", \"text\"}, {\"type\": \"image\", \"url\"} (images uploaded in HelpRange). Replaces all blocks.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency of the price table, ISO code like EUR (default: the team's billing currency)",
      +  "type": "string"
      +}
    • addedInput schema / properties / number
      Added value: +{
      +  "description": "Quote number (default: the team's next one, e.g. OF/2026/007)",
      +  "type": "string"
      +}
    • addedInput schema / properties / price_table
      Added value: +{
      +  "description": "Interactive price table: {\"heading\", \"note\", \"items\": [{\"name\", \"description\", \"qty\", \"unit_price\", \"discount\" (%), \"tax\" (%), \"optional\" (the client can tick it), \"selected\" (ticked at first), \"editable_qty\" (the client can change the quantity), \"max_qty\"}]}. Totals are calculated by HelpRange. Replaces the whole table.",
      +  "type": "object"
      +}
    • addedInput schema / properties / reminder_not_accepted_days
      Added value: +{
      +  "description": "Reminder if opened but not accepted after N days (null = off)",
      +  "maximum": 60,
      +  "minimum": 1,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / reminder_not_opened_days
      Added value: +{
      +  "description": "E-mail the client a reminder if the offer is not opened after N days (null = off, the default)",
      +  "maximum": 60,
      +  "minimum": 1,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / require_signature
      Added value: +{
      +  "description": "The client signs (typed or drawn) to accept; a PDF certificate is kept (default off)",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / payment_link
      Added value: +{
      +  "description": "Optional https payment link (Stripe Payment Link, PayPal, invoice page) shown as \"Pay now\" after the client accepts (\"\" removes it)",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / screenshot_protection / description
      Previous value: -"Screenshot protection (Max and higher)"New value: +"Screenshot protection (Pro and higher)"
  5. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, and the description adds genuinely new behavior: it never e-mails the client, it returns a url the caller must distribute, and e-mailing happens only in HelpRange with a confirmation. The reopening semantics of status=active are also not derivable from the schema. It stops short of warning that blocks and price_table are wholly replaced when supplied.

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?

Two sentences, front-loaded with the verb and the field scope, then the notable constraint about e-mail. Dense but readable; the enumerated field list is somewhat abstract against 34 concrete parameters but does not waste words.

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 34-parameter mutation tool with no output schema, the description covers the two things an agent would otherwise get wrong: that unspecified fields are untouched and that no notification e-mail is sent, with the returned url being the agent's responsibility. Coverage of destructive whole-block/price-table replacement is left to the schema field descriptions.

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 71% with very detailed per-field descriptions, so most of the 34 parameters are already explained. The description adds a coarse field grouping (texts, client, buttons, protection, layout, status) and the status=active reopen meaning, but does not clarify the replacement vs merge behavior for blocks or price_table or the additive behavior of recipients.

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?

States a specific verb and resource ("Change an offer's fields") plus the partial-update scope "(only those given)", and enumerates the field families affected. It does not name sibling tools such as create_offer or add_offer_files, so differentiation relies on the verb alone.

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?

The partial-update rule and the special case "status active reopens an accepted or declined offer" give real usage context, but there is no explicit when-to-use guidance relative to create_offer or add_offer_files, nor any mention of prerequisites such as permissions or offer state.

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