Skip to main content
Glama
dealdesk-mcp

dealdesk-mcp

dealdesk.refresh_quote_preset_prices

Destructive

Refresh stored unit prices on a quote preset from published portfolio basic prices while preserving line discounts. Omit line IDs to update every stale line without changing existing quotes.

Instructions

Update stored unit prices on a quote preset from the published portfolio basic price. Line discounts stay. Omit lineIds to refresh every stale line. Does not change existing quotes.

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.refresh_quote_preset_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineIdsNoPreset line ids to refresh. Omit to refresh every stale basic price.
presetIdYes
projectIdNoDealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects.

Output Schema

NameRequiredDescriptionDefault
presetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag this as destructive and open-world, so the baseline bar is lower. The description does add real value by stating what is preserved ("Line discounts stay") and what is untouched ("Does not change existing quotes"). It does not, however, disclose whether manually overridden unit prices are silently overwritten or how "stale" is determined — the exact information an agent needs before running a destructive refresh.

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 source of the new prices, followed by the preservation guarantee and the scope limit. No filler or redundant restatement of the tool name.

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?

With an output schema present, return values need not be described, and the description covers the mutation's intent, its preservation rule, and its scope boundary. Remaining omission is the overwrite/reversibility behavior of existing line prices, which matters for a tool annotated destructive.

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 67%: lineIds and projectId are documented in the schema, while required presetId is not. The description adds the useful "stale" qualifier for lineIds but says nothing about presetId's meaning or the projectId authorization rule, so it only partially compensates for the gap.

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?

Names a specific verb and resource plus the data source: "Update stored unit prices on a quote preset from the published portfolio basic price." An agent can distinguish this price-refresh operation from generic preset mutation tools like patch_quote_preset, though no sibling is called out by name.

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

Usage Guidelines4/5

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

"Omit lineIds to refresh every stale line" gives concrete call-shape guidance, and "Does not change existing quotes" sets an explicit boundary on blast radius. It stops short of naming an alternative tool for broader preset edits, so the when-not case is only partially covered.

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