Skip to main content
Glama

Validate Pipeline

pipeline.validate
Read-onlyIdempotent

Validate a pipeline graph before running. ExecGraphSnapshot: {nodes: [{id, type, config}], connections: [{from, to}]}. Build it from catalog.template(id).train or from scratch using catalog.nodes().

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": {
      "train_graph": "<train_graph>"
    },
    "name": "pipeline.validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
train_graphYesThe graph to validate ({nodes, connections}).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description adds the useful facts that validation happens pre-execution and that the graph is an ExecGraphSnapshot, but it says nothing about what checks are performed or how a failing graph is reported.

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 short sentences, front-loaded with the purpose, then shape, then construction path. No filler; each sentence carries information. It is slightly dense in its second sentence but remains readable.

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?

Given an output schema, annotations, and a single nested object parameter, the description covers purpose, required input shape, and input sourcing. It could add a word on failure semantics or the validate_node boundary, but nothing critical is missing for correct invocation.

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 coverage is 100%, so the baseline is 3, but the description earns above baseline by specifying the nested shape the schema leaves opaque (nodes carry id, type, config; connections carry from/to). That is real meaning beyond the additionalProperties:true object in the schema.

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 gives a specific verb+resource pair ("Validate a pipeline graph") plus a timing qualifier ("before running"), so the agent knows exactly what the tool does. It does not explicitly contrast itself with the close sibling pipeline.validate_node, leaving that distinction 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?

It supplies clear pre-flight context ("before running") and names two concrete ways to obtain the input, catalog.template(id).train or catalog.nodes(). However, it never says when to use this whole-graph validator instead of pipeline.validate_node or protocol.validate, which are the most confusable siblings.

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.