Skip to main content
Glama
Capsule CRM MCP Server

Capsule CRM MCP Server

by hallodom

capsule_update_opportunity

Update an existing Capsule CRM opportunity by changing its value, stage, owner, probability, close date, or custom fields.

Instructions

Update an existing 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": {
      "opportunityId": "<opportunityId>"
    },
    "name": "capsule_update_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the opportunity
tagsNoTags (include ID to update existing, omit ID to add new)
valueNoThe value of the opportunity
teamIdNoID of the team this opportunity should be assigned to
ownerIdNoID of the user who should own this opportunity
partyIdNoID of the main contact (party) for this opportunity
durationNoDuration of the opportunity (must be null if durationBasis is FIXED)
descriptionNoDescription of the opportunity
milestoneIdNoID of the milestone/stage for this opportunity
probabilityNoProbability of winning (0-100)
customFieldsNoCustom fields (include ID to update existing, omit ID to add new)
lostReasonIdNoID of the lost reason (if the opportunity is lost)
durationBasisNoTime unit used by the duration field
opportunityIdYesThe ID of the opportunity to update
expectedCloseOnNoExpected close date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, yet it reveals nothing about permissions, whether omitted fields are left untouched or cleared, whether empty arrays reset collections, or what side effects an update triggers. For a 15-parameter mutation tool, this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and contains zero filler, but it is drastically undersized relative to the tool's complexity. Conciseness is achieved by omission rather than by efficient editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 15 parameters, nested objects, an enum-constrained field, and no annotations or output schema, a five-word description is inadequate. An agent cannot learn partial-update semantics, deletion behavior for tags/custom fields, or expected responses from this definition.

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 every parameter including nested tag/customField objects, the durationBasis enum, and the duration/durationBasis constraint is already documented in the schema. The description adds no meaning beyond that, so the baseline 3 is appropriate.

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?

The description states a specific verb and resource ('Update an existing opportunity'), which clearly distinguishes it from sibling operations like capsule_create_opportunity, capsule_delete_opportunity, and capsule_get_opportunity by name alone. It stops short of explicitly differentiating itself in text, but the purpose 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, no mention of prerequisites (e.g., needing an existing opportunityId, required permissions), and no conditions under which it should not be used. The agent must infer everything from the tool name and required parameter.

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