Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Get Pipeline

get_pipeline
Read-onlyIdempotent

Read a workspace's deal pipeline to view stages in order, deals per stage, totals, and weighted value. Use it before creating or moving deals to get valid stage keys and show the pipeline board.

Instructions

Read this workspace's deal pipeline: its stages in order, the deals in each, and the totals.

Call it before moving or creating a deal, since move_opportunity and create_opportunity take a stage key from this list and refuse any other, and to answer how the pipeline stands (how many deals per stage, their value, how many won or lost). Each stage carries its key, label, default win probability, outcome (open, won or lost) and its deals' count, value and weighted value. To read the deals themselves, use list_opportunities(stage=...).

A host that shows views opens the pipeline board for this call, so call it, not list_opportunities, to show the user their deals or pipeline.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_retiredNoAlso list retired stages, after the live ones, each with its replacement. No deal enters a retired stage; the totals count its deals either way.
organization_idNoCount one account's deals only. Omit for the whole workspace.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds real behavior beyond that: the enumerated stage fields, the strict stage-key validation in sibling mutation tools, and the host-specific side effect that calling this opens the pipeline board. It stops short of describing ordering, pagination, or how retired stages affect totals (that detail lives only in the parameter schema).

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?

Three short paragraphs, front-loaded with the resource and its payload, then call-order constraints, then the host-view routing rule. Each sentence carries a distinct instruction; the middle paragraph's field enumeration is slightly dense but maps directly to what the agent will receive.

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?

With an output schema present, the description needn't restate return shapes, yet it still gives the agent enough to call correctly: zero required parameters, the ordering constraint against sibling mutation tools, and the alternative for deal-level data. Nothing material is missing for a read-only, two-optional-parameter tool.

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 coverage is 100% and both parameters are fully documented in-schema, including the subtle interaction where retired stages' deals still count toward totals. The description adds nothing about include_retired or organization_id beyond what the schema states, so the baseline 3 applies.

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 and resource ('Read this workspace's deal pipeline') and immediately enumerates the returned structure: stages in order, deals per stage, totals. It explicitly distinguishes itself from list_opportunities, so an agent can separate the two without opening either schema.

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?

It names the concrete call-order dependency ('call it before moving or creating a deal') and explains why, because move_opportunity and create_opportunity take a stage key from this list and refuse any other. It also routes to list_opportunities(stage=...) for reading deals themselves, and tells the agent to prefer this call when a host renders views.

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