Skip to main content
Glama

Make a pipeline the default

set_default_pipeline
Destructive

Make a pipeline the default: new leads from calls, web chat, forms without their own pipeline and Meta lead ads, and deals created without a pipeline_id, land in its first stage from now on. Exactly one pipeline is the default (pipeline_is_default in list_pipeline_stages). Existing deals do not move. Calling it on the current default changes nothing.

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": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "set_default_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pipeline_idYesThe pipeline to make the default, as returned by list_pipeline_stages

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=false), the description discloses exactly what is mutated (routing of future leads and pipeline-less deals), what is explicitly preserved ('Existing deals do not move'), and the no-op behavior on the current default. This is precisely the extra context the destructiveHint alone cannot convey, and nothing conflicts with the annotations.

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?

Two tight sentences, front-loaded with the action and its effects, followed by the invariant (exactly one default) and the two edge cases. No filler or redundant restatement of the title.

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 one-parameter mutation with annotations present and no output schema, the description covers effects, side effects, invariants, and idempotency. Nothing an agent needs to invoke it safely is missing.

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?

There is a single parameter with 100% schema coverage, and the schema already explains pipeline_id comes from list_pipeline_stages. The description reinforces that the ID refers to an existing pipeline but adds no format, constraint, or error-handling meaning beyond the schema, so the baseline of 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 ('Make a pipeline the default') and immediately enumerates the concrete consequences: new leads from calls, web chat, forms, Meta lead ads, and deals without a pipeline_id land in its first stage. That is far more than a restatement of the title and lets an agent distinguish this from create_pipeline or reorder_pipeline_stages.

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

Usage Guidelines4/5

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

It gives clear usage context, including the idempotent case ('Calling it on the current default changes nothing') and points to list_pipeline_stages for discovering the current default. It stops short of explicitly naming an alternative tool or saying when not to call it, so it falls just short of the top band.

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