Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Update Pipeline Stage

update_pipeline_stage
DestructiveIdempotent

Modify a deal pipeline stage by renaming, reordering, reweighting, changing its open/won/lost outcome, or retiring/restoring it while preserving existing deals.

Instructions

Retire, restore or change a stage of this workspace's deal pipeline: its label, order, default probability or outcome.

Call it to rename a stage, move its column, reweight it, make it close deals as won or lost, retire a stage the sales process no longer uses (naming the stage that replaces it), or restore a retired one. Only the arguments given change; the key never does, so deals in the stage stay in it. A deal in the stage takes the new default probability unless it has its own, and a stage that starts or stops closing deals moves their close time with it. A retired stage leaves get_pipeline and the board, and creating or moving a deal into it is refused with its replacement named; its deals keep it, with its label and outcome, and its key stays taken. Retiring is refused while open deals sit in the stage; a won or lost stage retires with its deals. The pipeline's only open stage cannot stop being open or retire. To add a stage use define_pipeline_stage; to move one deal use move_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": {
      "key": "<key>"
    },
    "name": "update_pipeline_stage"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe stage's key (get_pipeline lists them; include_retired=true for retired ones).
labelNoNew display label. Omit to keep it.
outcomeNoopen / won / lost. Omit to keep it.
retiredNotrue retires the stage; false restores it, last on the board unless position is given, and clears replaced_by.
positionNoNew order on the board, 0 first; the other stages shift. Omit to keep it.
probabilityNoNew default win probability 0-100. Omit to keep it.
replaced_byNoThe key of the live stage that takes its place. Only on a retired stage.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructive/idempotent/non-readOnly; the description goes well beyond them by disclosing the cascade effects: deals inherit a new default probability unless individually set, outcome changes move deal close times, retired stages vanish from get_pipeline and the board, and the key remains reserved. It also spells out the refusal conditions and what happens to deals left in a retired stage.

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?

Front-loaded with purpose then usage, and nearly every sentence carries behavioral information rather than filler. It is dense and long for a single paragraph, with the cascade and refusal rules packed together in a way that would read better as separated clauses, but no sentence is wasted.

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 7-parameter mutating tool with an output schema present, the description covers the mutation model, cascading effects, invariants, and failure modes. Nothing an agent needs to invoke it correctly or predict consequences appears to be missing, and return values are correctly left to the output schema.

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 each parameter is already documented with its 'omit to keep it' semantics, which sets the baseline at 3. The description adds a modest amount: it links retiring to naming the replacement stage and clarifies that only supplied arguments change, but it does not add format or edge-case detail for position, probability, or label beyond 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 set and resource: "Retire, restore or change a stage of this workspace's deal pipeline", then enumerates the mutable facets (label, order, default probability, outcome). This makes it immediately distinguishable from define_pipeline_stage (add) and move_opportunity (move one deal), both of which are named.

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?

Gives an explicit use-case list (rename, move column, reweight, change outcome, retire with a replacement, restore) and names the alternatives for adjacent intents: define_pipeline_stage to add a stage, move_opportunity to move a deal. It also states when the tool will refuse (retiring with open deals, the last open stage), which is when-not guidance.

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