Skip to main content
Glama

Read a pipeline

get_pipeline
Read-onlyIdempotent

A pipeline's steps in order: each stage (the workflow it runs and what it is given) and each checkpoint (what the person will review or choose), its start inputs, whether it is valid, and what a run usually costs. Read it before run_pipeline.

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": "get_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pipeline_idYesThe pipeline_id from search_pipelines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real value beyond that by disclosing the return shape — ordered stages, checkpoints requiring human review, validation status, and cost estimate — which tells an agent what it can learn before committing to a run.

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 compact sentences: the first front-loads the returned content as a tight parenthetical list, the second delivers the actionable directive. No filler, no repetition of the title, nothing that could be cut without losing information.

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?

With no output schema present, the description must carry the return-value burden, and it does so thoroughly by naming the stage, checkpoint, input, validity, and cost components. Minor gaps remain — nothing about ordering guarantees beyond 'in order' or behavior on an unknown pipeline_id — but an agent has everything needed to call and interpret it.

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% and the single pipeline_id parameter is documented in the schema as coming from search_pipelines. The description adds no further meaning about the identifier's format or provenance, so the schema does all the work and baseline 3 applies.

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 specifies the resource (a pipeline) and enumerates its contents — ordered stages with their workflow and inputs, checkpoints, start inputs, validity, and typical run cost — so an agent knows exactly what it gets back. It is a noun-phrase listing rather than an explicit verb phrase, but the closing 'Read it before run_pipeline' makes the read intent unambiguous and separates it from the run/rerun 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?

It gives explicit sequencing guidance: read this before calling run_pipeline, which is the main decision an agent faces here. It does not address other plausible alternatives such as get_pipeline_run for inspecting execution results, but the primary when-to-use condition is stated clearly rather than implied.

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