Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Update Opportunity

update_opportunity
Destructive

Update an existing deal's title, value, probability, close date, contact, custom fields, or research dossier by ID; omitted fields keep their current values, and the deal stage stays unchanged.

Instructions

Change a deal you hold: its title, value, probability, close date, primary contact, custom fields or research dossier.

Call it to correct or add to a deal once you have its id. Only the arguments you pass change; one you omit keeps its value, and a core field cannot be cleared here. It never changes the stage: move_opportunity does, with its side effects. To create a deal use create_opportunity.

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": {
      "opportunity_id": "<opportunity_id>"
    },
    "name": "update_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoWhat the deal is. Omit to keep it.
valueNoThe deal's size, in its currency. Omit to keep it.
fieldsNoCustom field values by key. A key given replaces that key's value; null (or "" for a text field) removes it; keys not given are kept. To keep the reason with a value, pass {"value": ..., "why": "..."}. Keys must be defined (list_fields).
sourceNoWhere the deal came from (open text). Omit to keep it.
dossierNoReplace the research dossier with this markdown; "" clears it. The dossier is for what is read, not filtered: anything you would filter or sort on is a field.
currencyNoAn ISO 4217 code, e.g. "USD". Omit to keep it.
fields_byNoWho is setting these fields, when the values do not say.
close_dateNoThe target or actual close date (ISO-8601 date).
probabilityNoThe deal's own win probability, 0-100, kept until its next stage move.
dossier_appendNoAdd this markdown after the current dossier, with a blank line between; a concurrent writer's addition is kept. Refused when the dossier would pass its maximum length. Not with dossier.
opportunity_idYesThe deal to change.
primary_contact_idNoThe deal's main contact. Omit to keep them.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=false, but the description adds real, non-redundant behavior: PATCH-style semantics ("Only the arguments you pass change; one you omit keeps its value") and the constraint that a core field cannot be cleared here. It never states whether changes are reversible or what permissions are required, which keeps it from a 5 given its destructive profile.

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 paragraphs, front-loaded with the action and mutable fields, followed by update semantics and then sibling routing. Every sentence carries information an agent needs; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter mutation tool this covers what an agent must know: it is a partial update, core fields cannot be nulled, stage is off-limits, and creation belongs elsewhere. An output schema exists, so return values need not be described.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3; the description still earns above baseline by explaining omission semantics that apply across all eleven optional parameters and by naming the clear-versus-keep rule for core fields. The per-parameter nuances (dossier vs dossier_append mutual exclusion, currency ISO code) are left to the schema.

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?

Opens with a specific verb-plus-resource ("Change a deal") and enumerates the mutable surface: title, value, probability, close date, primary contact, custom fields, dossier. It actively distinguishes itself from move_opportunity and create_opportunity, so an agent can pick it without opening the 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?

"Call it to correct or add to a deal once you have its id" states the triggering condition, and it explicitly excludes stage changes and creation by naming the tools that own those operations. The routing decision is fully determined by the description.

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