Skip to main content
Glama
Capsule CRM MCP Server

Capsule CRM MCP Server

by hallodom

capsule_list_opportunities_by_party

Retrieve opportunities linked to a specific contact or organization by party ID, with pagination and optional embedded records for CRM review.

Instructions

List opportunities associated with a specific party (contact or organization)

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
embedNoAdditional data to include in response
partyIdYesThe ID of the party
perPageNoNumber of results per page (1-100, default: 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'List' makes read-only, non-mutating behavior self-evident and low risk, but it says nothing about result limits, ordering, permissions, or that pagination (page/perPage) governs retrieval volume.

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

Conciseness5/5

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

A single short sentence with the filter scope front-loaded and no redundant or filler wording. Every phrase contributes to identifying the tool.

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 simple read-only list tool with fully documented parameters and no output schema, the description covers the essentials. It nonetheless omits the guidance most needed on a tenant with many 'list' siblings: how results differ from the unfiltered opportunity list and whether results are paginated.

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 adds real meaning by defining what a 'party' is (a contact or organization) — context the schema's 'The ID of the party' does not supply. The other three parameters are left entirely to the 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 states a specific verb+resource+filter: listing opportunities scoped to a single party. Combined with the tool name ('by_party'), an agent can distinguish it from the unfiltered capsule_list_opportunities, though the description itself never names that alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: 'associated with a specific party' suggests you need a known party ID, but the description never states when to choose this over capsule_list_opportunities or capsule_search_opportunities, nor any prerequisite such as resolving a contact/org ID first.

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