Skip to main content
Glama

Publish pipeline

publish_pipeline
Idempotent

Publish a pipeline's current draft graph as an immutable deployed version. Publishing requires a fully valid graph (no errors or warnings) and makes the pipeline invokable via the public /invoke and /chat/completions APIs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipelineIdYes

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 convey readOnlyHint=false, destructiveHint=false, and idempotentHint=true. The description adds valuable context beyond these: the published version is immutable and the pipeline becomes invokable via /invoke and /chat/completions. This reveals the consequential effect of the action, though it does not mention permissions or return values.

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 tightly worded sentences with no fluff. The core action and key constraints are front-loaded. Every clause adds value.

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

Completeness3/5

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

The description covers preconditions (valid graph) and effects (immutable, invokable), but lacks any mention of return values or error behavior. Since there is no output schema, the agent is left guessing what the call returns or how failures are surfaced, which is a notable gap for a mutation tool.

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?

With schema description coverage at 0%, the description bears responsibility for explaining pipelineId. However, the parameter name is self-explanatory and the description's mention of 'a pipeline' implicitly refers to it. It does not explicitly state its format or purpose, but for a single obvious parameter this is acceptable, hence a mid-range score.

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?

Description states a specific action ('Publish a pipeline's current draft graph') with a clear resource and outcome ('immutable deployed version'). It distinguishes itself from siblings like create_pipeline or update_pipeline by focusing on deployment and invokability via public APIs.

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?

Provides clear context: publishing requires a fully valid graph and makes the pipeline invokable. This implies when to use it (when you want to deploy) but does not explicitly compare with alternatives or state when not to use it. No mention of run_pipeline or update_pipeline as alternatives, so it falls short of a 5.

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.