Skip to main content
Glama
AskBase

AskBase

Official

move_deal

Move a CRM deal to another pipeline stage by name or ID, optionally recording a reason when marking it lost.

Instructions

Move a deal to another stage (by name or ID); moving to a lost stage takes an optional reason. Changes the CRM: confirm with the user first.

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": {
      "deal_id": "<deal_id>",
      "stage": "<stage>"
    },
    "name": "move_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageYesStage name (in the deal's pipeline) or stage ID
deal_idYesDeal ID
lost_reasonNoWhy it was lost, when moving to a lost stage

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the essential traits: this is a CRM mutation, it requires user confirmation, and the lost_reason field only applies when moving to a lost stage. It does not describe side effects of stage transitions (automations, closed-won handling) or behavior when a stage name is invalid or in another pipeline.

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?

Two compact sentences with zero filler, and the core action is front-loaded before the mutation warning. Slight redundancy with the schema's parameter descriptions is the only inefficiency.

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?

The mutation warning plus full schema coverage make it adequate for a three-parameter write tool, and the output schema removes any need to explain return values. However, for a destructive state-changing tool with no annotations, more detail on side effects and failure modes (invalid stage, cross-pipeline names) would be warranted.

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 schema already documents all three parameters, including that stage can be a name or ID and that lost_reason applies to lost stages. The description largely mirrors that information, adding only the conditional framing for the lost reason, so it meets the baseline rather than exceeding it.

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?

The description opens with a specific verb and resource, 'Move a deal to another stage,' and immediately clarifies that the stage can be given by name or ID. It reads clearly as distinct from siblings like create_deal, get_deal, and list_deals.

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?

It supplies an explicit precondition for use: 'Changes the CRM: confirm with the user first,' which tells the agent to gate the call behind user approval. It does not name alternatives or when-not-to-use cases, but there is no obvious competing tool for stage transitions.

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