Skip to main content
Glama
Commish MCP Server

Commish MCP Server

update_deal

Update an existing deal's details, including opportunity name, customer, close date, ARR, notes, deal type, metrics, and custom fields. Comp plan assignment and user cannot be changed here.

Instructions

Update an existing deal's details. Only the following fields can be updated: opportunity_name, customer_name, close_date, contract_term, arr_amount, notes, deal_type, primary_metric_value, secondary_metric_value, custom_fields. The comp plan assignment and user cannot be changed here. Only provided fields will be updated.

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": {
      "id": "<id>"
    },
    "name": "update_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unique deal ID to update.
notesNoUpdated notes for the deal.
deal_typeNoUpdated deal type.
arr_amountNoUpdated ARR amount in dollars.
close_dateNoUpdated close date in ISO 8601 format (YYYY-MM-DD).
contract_termNoUpdated contract term in months.
custom_fieldsNoUpdated custom fields JSON object.
customer_nameNoUpdated customer/account name.
opportunity_nameNoUpdated name of the opportunity.
primary_metric_valueNoUpdated primary metric value.
secondary_metric_valueNoUpdated secondary metric value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose the important PATCH-style semantics and immutability of comp plan/user assignment, but says nothing about permissions, whether changing arr_amount or close_date triggers commission recalculation, or what happens on invalid field values — meaningful gaps for a compensation-domain write.

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, front-loaded with the action and followed by constraints; nothing is padded. The field enumeration is partly redundant with the schema but earns some place as an explicit whitelist.

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?

For an 11-parameter mutation tool with no annotations and no output schema, the definition covers the field whitelist and partial-update behavior but omits side effects (commission/spiff recalculation), error handling, and any indication of the returned result. Adequate but not complete.

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 100%, so the baseline is 3. The description's field list largely restates schema properties without adding formats, constraints, or semantics beyond what the schema already documents (ISO date format, ARR in dollars, deal_type enum).

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 ('Update an existing deal's details') and enumerates the mutable field set, which separates it from create_deal/get_deal. It stops short of naming the sibling tools that handle the excluded operations, so differentiation is implied rather than explicit.

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?

Gives clear usage boundaries: only listed fields are updatable, comp plan assignment and user cannot be changed here (pointing the agent elsewhere), and partial updates are supported ('Only provided fields will be updated'). No explicit when-to-use vs. create_deal/get_deal, but the mutation scope is unambiguous.

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