Skip to main content
Glama

Create a pipeline

create_pipeline

Create a deal pipeline. To set one up the way the business actually works, pass stages: the OPEN stages in left-to-right order (1 to 15, e.g. ["Inquiry", "Consult booked", "Proposal sent"]), and optionally won_stage_name and lost_stage_name (default "Won" and "Lost", e.g. "Retained" and "Not hired"). The won and lost stages are always added at the end and drive lead outcomes and win reporting. Without stages it is seeded with the standard New, Qualified, Proposal, Won, Lost. Every stage name must be different, ignoring case. If the account has no default pipeline yet, this one becomes the default. Most accounts need only one pipeline: an existing one is changed with rename_pipeline_stage, create_pipeline_stage, delete_pipeline_stage and reorder_pipeline_stages rather than by making a second. IF A PIPELINE WITH THAT NAME ALREADY EXISTS, ignoring case, NOTHING IS CREATED OR CHANGED: the existing one is returned with created=false, and created is the ONLY field that tells you which happened. A new pipeline starts with no deals; it receives them when its pipeline_id is passed to create_deal, or when it is made the default (set_default_pipeline) so new leads land in it.

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>"
    },
    "name": "create_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPipeline name, e.g. "Intake" or "Renewals"
stagesNoThe open stages in board order. Omit for the standard New, Qualified, Proposal
won_stage_nameNoName of the won stage (default "Won"). Only used with stages
lost_stage_nameNoName of the lost stage (default "Lost"). Only used with stages

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered, and the description does add genuinely non-obvious behavior: name-collision short-circuit with created=false as the only distinguishing field, implicit default-pipeline promotion, and ignored-case name uniqueness. It stops short of describing the full return payload (pipeline_id, stage list) beyond the created flag, so it is strong but not exhaustive.

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?

Front-loaded with the purpose, then conditional behavior, then the collision warning in caps for salience. It is dense and one paragraph long, and nearly every sentence carries information, though the stage/default-pipeline material could be trimmed slightly for a create tool.

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?

For a 4-parameter mutation with no output schema, the description covers defaults, constraints (1-15 stages, unique names ignoring case), side effects (default promotion), downstream wiring (create_deal, set_default_pipeline), and the otherwise invisible created=false return — enough to call and interpret the result correctly.

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% and already documents each parameter, so the baseline is 3; the description earns above that by giving ordering semantics (left-to-right, 1-15), concrete examples, and the effect of won/lost stages ("drive lead outcomes and win reporting"). It adds real meaning without duplicating the schema verbatim.

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?

States a specific verb and resource ("Create a deal pipeline") and immediately distinguishes the operation from the stage-level siblings (rename_pipeline_stage, create_pipeline_stage, delete_pipeline_stage, reorder_pipeline_stages). An agent can tell this is pipeline creation, not stage editing, without opening the 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?

Explicitly instructs that most accounts need only one pipeline and that an existing pipeline should be modified via the listed stage tools "rather than by making a second." It also frames when a second pipeline is warranted (deals land in it via create_deal or set_default_pipeline), covering both when-to-use and when-not-to-use.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources