Skip to main content
Glama

Create pipeline

create_pipeline

Create a pipeline that a delegate block in another pipeline can hand matching requests to, with its first revision active at once. Use it to give one team its own part of the approval flow: the entry pipeline decides which requests reach it, the new pipeline decides what happens to them. A person then grants the team pipeline.read, pipeline.write and pipeline.activate at pipeline: in the app so they can edit it and nothing else.

Input Schema

NameRequiredDescriptionDefault
nameYesThe pipeline's display name, for example Payments.
blocksNoThe first revision's blocks, in the shape update_pipeline takes. Omit or pass an empty list for a pipeline that passes every request that enters it to human review until it is edited.
pipeline_keyYesThe new pipeline's key: lowercase letters, digits, dots, underscores and hyphens, up to 63 characters. It is taken for good, archived pipelines included, and can never be 'entry'.
default_escalation_pathNoEscalation path key for requests this pipeline hands to a person without a block naming a path, including requests that run out of it. Omit to inherit the defaults of the pipelines that delegate into it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the description's job is to add context beyond that. It does: the first revision goes live at once, the pipeline key is permanent (archived pipelines included, never 'entry'), and a human must grant pipeline.read/write/activate at pipeline:<key> for the team to edit it.

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 sentences, front-loaded with the creation action and its immediate-activation consequence, followed by the use case and the permission follow-up. Dense but every sentence carries information; the middle sentence is slightly narrative but not redundant.

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 create tool with no output schema and fully described parameters, the description covers the meaningful unknowns: immediate revision activation, key immutability, delegation wiring and post-creation permissions. It does not say what the call returns (e.g. the created key/object), which would be the last missing piece.

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 description coverage is 100%, so each parameter already carries a detailed description (key format and permanence, blocks shape, default_escalation_path inheritance). The description only reinforces the blocks/activation behavior and adds no new parameter meaning, 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?

States a specific verb and resource ('Create a pipeline') and then explains its distinctive semantics: it is the target of a delegate block in another pipeline and its first revision is active immediately. That is enough to tell it apart from update_pipeline, create_escalation_path and the other create_* siblings.

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?

The second sentence gives an explicit use case ('give one team its own part of the approval flow') and describes the entry-pipeline/delegate-pipeline split of responsibility. It stops short of naming alternatives such as update_pipeline or preview_pipeline, so the 'when not to use' half is missing.

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.