Skip to main content
Glama

Tommos

Save a pipeline and its stages

save_a_pipeline
DestructiveIdempotent

Save a pipeline as its editor does: its name, whether it is the default, and its whole stage list in order — each stage with its id to keep (renamed or moved), without an id to add, and a stage left out is removed. Each stage is open, won or lost. An open stage carries meaning, what the column means in the company's words: a new open stage is refused without it, and a stage kept keeps its own when meaning is left out. Won and lost carry none. A stage that still holds an open deal is not removed.

Input Schema

NameRequiredDescriptionDefault
nameYes
stagesYes
is_defaultNo
pipeline_idYesThe pipeline's id (from list_pipelines)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / stages / items / properties / meaning
      Added value: +{
      +  "description": "What this column means, in the company's words (an open stage only)",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description goes well beyond that: it discloses full-list replacement (a stage left out is removed), a guardrail (a stage holding an open deal is not removed), and a validation rule (a new open stage is refused without meaning). This is exactly the destructive-behavior context an agent needs before overwriting a pipeline.

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?

Every sentence carries operational meaning and the destructive reconciliation rule is front-loaded. The prose is occasionally hard to parse ('a stage kept keeps its own when meaning is left out'), which costs some readability, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema mutation with low schema coverage, the description is thorough about replacement semantics, removal guardrails, and the meaning requirement. It does not cover auth/permission needs or the fate of deals attached to removed stages, but for a 4-parameter tool it is substantially complete.

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 description coverage is only 25%, so the description must carry the load, and it largely does: it explains id presence/absence (keep vs add vs remove), the meaning requirement per kind, and what is_default and name represent. It adds substantial meaning beyond the schema, though name gets no semantic treatment and the per-kind meaning rule is phrased densely.

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+resource ('Save a pipeline') and immediately defines the operation's scope: name, default flag, and the entire ordered stage list with keep/add/remove reconciliation. An agent can tell this is a full-replacement save of an existing pipeline (pipeline_id is required), but it never explicitly contrasts itself with siblings like create_a_pipeline or delete_a_pipeline, so brother differentiation is left to inference.

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 implied through the reconciliation rules (include id to keep, omit to add, leave out to delete) rather than stated as when-to-use guidance. There is no explicit statement of when to prefer this over create_a_pipeline or list_stages, though the required pipeline_id and detailed stage semantics do imply update semantics.

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.