Skip to main content
Glama
ramonpalopoli

ops-agent-mcp

update_deal_stage

Moves a CRM deal to a different pipeline stage and records the user-provided reason, ensuring stage changes happen only on explicit request with audit logging.

Instructions

Move a deal to another pipeline stage. WRITES DATA: only call when the user explicitly asked for the change and provided a reason. [writes data] Arguments: {"deal_id": {"pattern": "^deal_[0-9]{3,6}$", "title": "Deal Id", "type": "string"}, "stage": {"enum": ["qualification", "proposal", "negotiation", "closed_won", "closed_lost"], "title": "Stage", "type": "string"}, "reason": {"description": "Why the stage is changing (audited)", "maxLength": 280, "minLength": 5, "title": "Reason", "type": "string"}}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

With no structured annotations provided, the description carries the full burden of behavioral disclosure. It clearly flags the operation as 'WRITES DATA' and notes the reason is 'audited', which conveys the mutation side effect and accountability. It does not discuss reversibility or downstream effects, but the essential behavioral traits are explicit.

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?

The purpose and guardrail are front-loaded in the first sentence, followed by a structured argument block. The embedded JSON is somewhat dense but necessary because the structured schema provides no parameter details, and every part contributes to a correct invocation.

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?

The description combines a clear purpose, an explicit usage precondition, full parameter documentation, and an existing output schema. For a focused stage-update tool, this provides enough context for an agent to select and invoke the tool correctly without needing additional assumptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The actual input schema is a generic 'arguments' bag with 0% schema description coverage, so the description must fully compensate. It does so by embedding a complete parameter spec: deal_id with pattern, stage with enum values, and reason with min/max length and audit semantics. This gives the agent all the parameter meaning it needs.

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-resource pair: 'Move a deal to another pipeline stage.' This unambiguously identifies the operation and clearly differentiates it from sibling read-focused tools like get_deal, list_deals, and pipeline_summary.

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?

The description explicitly states when to call the tool: 'only call when the user explicitly asked for the change and provided a reason.' This functions as both a when-to-use and when-not-to-use guardrail, which is especially valuable for a write operation.

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