Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Move Opportunity

move_opportunity
Idempotent

Move a deal to another stage in a workspace pipeline, updating close time and win probability when it advances, stalls, or closes.

Instructions

Move a deal to another stage of this workspace's pipeline.

Call it when a deal advances, stalls or closes; it is the only way a deal's stage changes. Entering a won or lost stage stamps the close time and an open stage clears it, and the deal takes the stage's default probability unless probability gives its own. A stage the pipeline does not hold is refused, naming the ones it does (get_pipeline lists them). To change anything else about the deal use update_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>",
      "stage": "<stage>"
    },
    "name": "move_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageYesThe key of the stage to move it to.
probabilityNoThe deal's own win probability in the new stage, 0-100; omit to take the stage's default.
opportunity_idYesThe deal to move.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well past the annotations by disclosing side effects the agent could not otherwise know: entering a won/lost stage stamps close time, an open stage clears it, and probability defaults to the stage's default unless overridden. It also documents the failure mode ('a stage the pipeline does not hold is refused, naming the ones it does'), which matters for retry/error-handling decisions.

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?

Front-loads the action, then trigger conditions, then behavioral side effects, then the escape hatch to update_opportunity. Every clause carries information an agent would otherwise have to discover by trial.

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 3-parameter mutation with an output schema already defined, the description covers prerequisites (valid pipeline stage), side effects (close time, probability), failure behavior, and the sibling boundary. Nothing needed to invoke it correctly is missing.

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 is 3; the description adds real meaning by explaining the stage/probability interaction as a rule (stage default is applied unless probability is supplied) and by asserting that stage must be a member of the pipeline. It stops short of giving format examples for the stage key, leaving that to get_pipeline.

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?

States a specific verb and resource ('Move a deal to another stage'), scopes it to 'this workspace's pipeline', and explicitly separates it from update_opportunity, which handles everything else. An agent can distinguish it from all relevant 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?

Gives concrete trigger conditions ('when a deal advances, stalls or closes'), declares exclusivity ('the only way a deal's stage changes'), and names the alternatives for different needs: get_pipeline for valid stage keys and update_opportunity for other fields.

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