Skip to main content
Glama

ConverZAP — WhatsApp (official API)

Create, update or move a deal

manage_deal
Destructive

Pipeline deals. action=create (pipeline_id, stage_id, title; optional contact_id, value, owner_id, expected_close_date YYYY-MM-DD, notes), update (deal_id + fields), move (deal_id + stage_id; lost_reason when moving to a lost stage). Pipeline and stage ids come from whoami.

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": {
      "action": "<action>"
    },
    "name": "manage_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoFree notes about the deal.
titleNoDeal title.
valueNoDeal value in the account's currency.
actionYescreate = new deal; update = change its fields; move = move it to another stage.
deal_idNoFor update/move.
dry_runNotrue = run every check and return what WOULD happen, without doing it.
owner_idNoOwner (user id).
stage_idNoFor create/move.
contact_idNoContact of the deal.
lost_reasonNoWhy the deal was lost (when moving to a lost stage).
pipeline_idNoFor create.
expected_close_dateNoYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"create = new deal; update = change its fields; move = move it to another stage."
    • addedInput schema / properties / lost_reason / description
      Added value: +"Why the deal was lost (when moving to a lost stage)."
    • addedInput schema / properties / notes / description
      Added value: +"Free notes about the deal."
    • addedInput schema / properties / title / description
      Added value: +"Deal title."
    • addedInput schema / properties / value / description
      Added value: +"Deal value in the account's currency."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds useful context — the lost-stage branching and where ids originate — but never mentions the dry_run parameter or what side effects a move-to-lost-stage triggers (e.g., automations, notifications), which is exactly the missing behavioral context for a destructive mutation.

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?

A single dense sentence with the resource claim front-loaded and per-action fields grouped in parentheticals — no filler. It is telegraphic rather than prose, which is efficient for a routing-style tool, though the compressed style slightly slows parsing of the action branches.

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?

For a 12-parameter destructive tool with no output schema, the description covers the action-conditional field requirements well and points to whoami for ids. However, it leaves dry_run unexplained and says nothing about what a successful call returns, failure modes (e.g., invalid stage for pipeline), or whether update overwrites or merges fields.

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 goes beyond it by documenting the action-conditional requirements: which fields are mandatory for create vs. update vs. move, and the condition governing lost_reason. It also restates the YYYY-MM-DD date format. The one gap is that dry_run, a meaningful control parameter, is absent from the description entirely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with the resource ('Pipeline deals') and enumerates the three concrete operations (create, update, move) with their key inputs, so an agent knows exactly what the tool does. It does not explicitly contrast itself with siblings such as apply_pipeline or get_pipeline_context, but the verb/resource pairing is unambiguous.

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?

Selects the right mode per action by listing which fields each action requires ('create (pipeline_id, stage_id, title...), update (deal_id + fields), move (deal_id + stage_id...)') and gives a conditional rule ('lost_reason when moving to a lost stage'). It also routes the agent to whoami for pipeline and stage ids, but offers no when-not guidance or alternatives for related pipeline operations.

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.