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.

Move a deal to a stage

move_deal
Idempotent

Move a deal to another stage of its pipeline. A won or lost stage closes it (give lost_reason for lost); moving a closed deal to an open stage reopens it. Entering the stage creates its task and starts any journey switched ON for it, which can message the contact. Pass the version you read; a conflict means 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>",
      "stage_key": "<stage_key>"
    },
    "name": "move_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesDeal id, from list_deals
site_idYesThe site, from list_sites
stage_keyYesThe stage to move it to
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.
lost_reasonNoWhen moving to a lost stage: why
expected_versionYesThe deal's version from list_deals / get_deal

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that entering a stage creates its task and starts any journey switched ON for that stage, which can message the contact. It also documents the optimistic-concurrency contract (pass the read version; a conflict means read again), which the annotations' idempotentHint does not convey.

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?

Four dense sentences, front-loaded with the core action, then consequences, then the version/conflict rule. Every clause carries information; minor density cost from packing stage transitions and side effects into one paragraph, but nothing 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 6-parameter mutation with no output schema, the description covers the side effects an agent most needs to anticipate (task creation, journey activation, contact messaging) plus failure handling on version conflict. Nothing required to call 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, but the description adds meaning the schema lacks: lost_reason is conditionally required for lost stages, and expected_version exists to detect conflicts with a prescribed recovery action. stage_key behavior (open vs. closed stages) is also explained rather than just described.

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 of its pipeline") and immediately qualifies the domain semantics: won/lost stages close the deal, moving back to an open stage reopens it. This is clearly distinguishable from siblings like move_journey_step or move_creation_to_brand without opening any schema.

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 concrete conditional guidance: supply lost_reason when moving to a lost stage, and re-read the deal when the passed version conflicts. It stops short of naming an alternative tool (e.g. archive_deal vs. moving to a lost stage) or stating when a caller should not move a deal.

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