Skip to main content
Glama
Capsule CRM MCP Server

Capsule CRM MCP Server

by hallodom

capsule_create_opportunity

Create a new Capsule CRM opportunity by assigning a name, contact, and milestone, then set its value, owner, tags, and custom fields.

Instructions

Create a new opportunity in Capsule CRM

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": {
      "name": "<name>",
      "partyId": "<partyId>",
      "milestoneId": "<milestoneId>"
    },
    "name": "capsule_create_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the opportunity
tagsNoTags to assign to the opportunity
valueNoThe value of the opportunity
teamIdNoID of the team this opportunity should be assigned to
tracksNoTracks to apply to the opportunity
ownerIdNoID of the user who should own this opportunity
partyIdYesID of the main contact (party) for this opportunity
durationNoDuration of the opportunity (must be null if durationBasis is FIXED)
descriptionNoDescription of the opportunity
milestoneIdYesID of the milestone/stage for this opportunity
probabilityNoProbability of winning (0-100)
customFieldsNoCustom fields for the opportunity
lostReasonIdNoID of the lost reason (if the opportunity is lost)
durationBasisNoTime unit used by the duration field
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?

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not state that this is a mutating write, what permissions are needed, what happens if partyId or milestoneId reference nonexistent records, or what the response contains. Only the word "Create" hints at the mutation.

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 concise to the point of under-specification for a 15-parameter mutation. Brevity here is not a virtue so much as an absence of content.

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?

With 15 parameters, nested objects, three required ID fields, and no annotations or output schema, this tool is complex enough to need more than eight words. The description omits required-ID sourcing, side effects, and error behavior, leaving real gaps for an agent to fill by guesswork.

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 one of the 15 parameters, including the nested value, tags, tracks and customFields objects, is documented in the schema itself. The description adds no meaning beyond that, which lands at the baseline of 3 for a fully documented schema.

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 names a specific verb and resource ("Create a new opportunity") in a named system (Capsule CRM), so an agent knows exactly what the tool does. It does not distinguish itself from capsule_update_opportunity or capsule_create_organization, but the create/opportunity pairing is unambiguous enough on its own.

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 versus capsule_update_opportunity, nor any prerequisites such as the fact that partyId and milestoneId are mandatory and must be obtained from capsule_list_parties / capsule_list_milestones first. The agent is left to infer the entire call sequence.

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