Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Mondovo. If you published it, claim ownership there.

Change a deal

update_deal

Change a deal's title, value and currency, owner, expected close date, notes or contact. Not its stage: use move_deal. Pass the version you read; if someone changed the deal since, it answers conflict and you read it again.

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": {
      "site_id": "<site_id>",
      "deal_id": "<deal_id>",
      "expected_version": "<expected_version>"
    },
    "name": "update_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleNo
deal_idYesDeal id, from list_deals
site_idYesThe site, from list_sites
currencyNo
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
contact_idNo
value_minorNo
owner_user_idNo
expected_versionYesThe deal's version from list_deals / get_deal
expected_close_onNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false); the description supplies the non-obvious optimistic-concurrency contract — a stale expected_version yields a "conflict" response and the deal must be re-read. That is real behavioral value beyond the annotations and is consistent with idempotentHint=false. It stops short of saying whether omitted fields are left unchanged (partial vs. full replace) or what permissions are required, which matters for an 11-parameter mutation.

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?

Three short sentences, zero filler, with the field scope and the stage exclusion front-loaded before the version/conflict mechanics. The final clause ("it answers conflict and you read it again") is telegraphic to the point of being slightly awkward, but it is compact rather than padded.

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 mutation tool with no output schema, the description covers the important unknowns: which fields are editable, that stage is handled elsewhere, and how version conflicts resolve. Remaining gaps — partial-update semantics, minor-unit convention for value_minor, and the user_goal parameter — are modest but real given 11 parameters at 36% schema coverage.

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 description coverage is only 36%, so the description must carry weight, and it does enumerate most editable fields (title, value, currency, owner, close date, notes, contact) and explains expected_version's purpose. However, it never clarifies that "value" is value_minor in minor currency units, says nothing about contact_id or user_goal, and leaves site_id/deal_id to the schema. Partial compensation for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Change a deal's title, value and currency, owner, expected close date, notes or contact" names a specific verb plus the exact mutable field set, and immediately carves out the one field it does not touch (stage) by pointing at move_deal. An agent can distinguish this from move_deal and from the many other update_* siblings without opening a schema.

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

Usage Guidelines5/5

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

The description states the exclusion explicitly ("Not its stage: use move_deal") and gives the operational precondition for calling it at all ("Pass the version you read"), plus the recovery path when that precondition fails. When-to-use, when-not-to-use, and the alternative are all present.

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