Skip to main content
Glama
dealdesk-mcp

dealdesk-mcp

dealdesk.patch_quote_preset

Destructive

Update a quote preset by renaming it or replacing its groups, line items, and options without altering quotes already created from that preset.

Instructions

Rename a quote preset or replace its groups, line items, and options. Does not change quotes already created from it.

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": {
      "presetId": "<presetId>"
    },
    "name": "dealdesk.patch_quote_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
groupsNo
optionsNo
presetIdYes
lineItemsNo
projectIdNoDealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects.
discountAmountNo

Output Schema

NameRequiredDescriptionDefault
presetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds real context beyond them: the operations are wholesale replacements of groups/line items/options, and existing quotes spawned from the preset are explicitly unaffected. That non-propagation note is exactly the kind of behavioral fact an agent cannot get from the structured fields. It does not cover whether renames require particular permissions or whether omitted fields are preserved.

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 short sentences, action front-loaded and the non-obvious caveat placed second. Nothing is wasted and no marketing or filler text appears.

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 explained, and the destructive/replacement behavior is covered. Still, for a seven-parameter mutation tool with near-zero schema documentation, the description should clarify omitted-field behavior and array replacement semantics; without that an agent could easily clobber fields it meant to leave alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14% (just projectId), so the description carries most of the burden for seven parameters. It names four of them (name, groups, lineItems, options) but explains none of the semantics — whether arrays replace or merge, what discountAmount means for a preset, or whether presetId and projectId have scoping implications.

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 concrete verbs and the resource: rename a quote preset, or replace its groups, line items and options. That is far more specific than the tool name alone. It does not, however, contrast itself with nearby siblings such as dealdesk.replace_quote_items or dealdesk.create_quote_preset_from_quote, so differentiation is only partial.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. An agent must infer from the field list that this is the tool for editing an existing preset rather than applying, duplicating or creating one, which is left implicit.

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