Skip to main content
Glama

Rename a pipeline

rename_pipeline
Destructive

Rename a pipeline. Its stages, deals and default status do not change. pipeline_id is one that list_pipeline_stages returns. Refused if another pipeline in this account already has that name, ignoring case.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe new pipeline name
pipeline_idYesThe pipeline id, as returned by list_pipeline_stages

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the important addition is blast-radius disclosure: stages, deals and default status are untouched. It also discloses a validation rule (case-insensitive name uniqueness) and the refusal outcome, which are not in the annotations. Missing is any statement of what the call returns upon success.

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?

Four short sentences, each carrying a distinct fact (action, invariants, id provenance, validation rule). Front-loaded with the action and 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 simple two-parameter mutation with no output schema, the description covers effect, invariants, id source and failure mode. Only the success response shape is left unaddressed, which is a minor gap.

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%, so both parameters are already documented and the description's note about pipeline_id repeats the schema text. It does add one genuine semantic not in the schema: the name must be unique within the account ignoring case. That is useful but marginal, so baseline 3 plus a small lift lands at 3.

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?

States a concrete verb+resource ("Rename a pipeline") and immediately scopes the effect. The singular resource noun distinguishes it from rename_pipeline_stage, though it never names that sibling explicitly.

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?

Gives real preconditions: the pipeline_id must come from list_pipeline_stages, and the call is refused when the name collides case-insensitively with another pipeline in the account. It stops short of explicit when-to-use/when-not routing against alternatives such as set_default_pipeline.

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