Skip to main content
Glama
dealdesk-mcp

dealdesk-mcp

dealdesk.update_quote_from_configuration

Destructive

Re-applies a published Portfolio configuration to an existing draft quote as a full commercial replace, leaving title, customer, and ownership unchanged; optional quoteLayout adjusts presentation.

Instructions

Re-apply a published Portfolio configuration onto an existing draft quote (full commercial replace). Does not change title/customer/ownership. Optional quoteLayout reshapes presentation.

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": {
      "quoteId": "<quoteId>",
      "portfolioRevisionId": "<portfolioRevisionId>",
      "priceBookRevisionId": "<priceBookRevisionId>",
      "configuration": "<configuration>"
    },
    "name": "dealdesk.update_quote_from_configuration"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNo
quoteIdYes
currencyNo
projectIdNoDealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects.
quoteLayoutNo
configurationYesCPQ configuration with selections[] and optional context
portfolioRevisionIdYes
priceBookRevisionIdYes

Output Schema

NameRequiredDescriptionDefault
quoteYesQuote status, totals, and optional analytics/shares. Extra fields live on this object, not beside it.
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • changedInput schema / properties / projectId / description
      Previous value: -"DealDesk project id (must match API key / OAuth project)"New value: +"DealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects."
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "quoteId",
      -  "portfolioRevisionId",
      -  "priceBookRevisionId",
      -  "configuration"
      -]New value: +[
      +  "quoteId",
      +  "portfolioRevisionId",
      +  "priceBookRevisionId",
      +  "configuration"
      +]
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / quote / description
      Previous value: -"Quote summary shown in the quote-totals widget"New value: +"Quote status, totals, and optional analytics/shares. Extra fields live on this object, not beside it."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description reinforces this with concrete consequences: a full commercial replace, with title, customer and ownership explicitly preserved. It also discloses that quoteLayout alters presentation, which the annotations do not convey. It stops short of stating validation failures, draft-state requirements, or whether the replace is atomic.

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?

Three short sentences, front-loaded with the action and the destructive scope, then boundaries, then the optional layout flag. No redundant restatement of the tool name or filler.

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?

An output schema exists, so return values need not be described, and the mutation's blast radius is covered. However, for an 8-parameter destructive replace with nested configuration objects and low schema coverage, the definition leaves out the meaning of most required parameters and the preconditions (draft status, revision matching) that govern a successful call.

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 only 25% across 8 parameters, so the description should carry more weight; it explains only quoteLayout ('reshapes presentation'), adding real meaning that the schema lacks. Key required parameters such as configuration, portfolioRevisionId and priceBookRevisionId are unexplained in both schema and description, and locale/currency/projectId semantics are left entirely to 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?

Specific verb+resource: re-applies a published Portfolio configuration onto an existing draft quote, with the parenthetical 'full commercial replace' pinning down the effect. The word 'existing draft quote' implicitly separates it from create_quote_from_configuration and create_quote, though no sibling is named explicitly.

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 phrase 'onto an existing draft quote' plus 'published Portfolio configuration' implies the precondition (draft state, published revision), and 'Does not change title/customer/ownership' draws a scope boundary. There is no explicit when-to-use versus alternatives (e.g., patch_quote, replace_quote_items, apply_quote_preset), so guidance remains inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools