Skip to main content
Glama

Pipeline.Validate

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().

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the safety profile is covered. The description adds the pre-execution intent and the graph shape, but says nothing about what a failed validation returns or how validation is scoped (e.g., config-level checks).

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?

Front-loaded with the core purpose, then supporting input documentation. Three compact lines with no filler, though the 'ExecGraphSnapshot:' shorthand is a bit cryptic for an agent that hasn't seen the type elsewhere.

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?

An output schema exists so return values need not be explained. Given annotations covering safety and the description covering purpose, input structure, and construction path, an agent has enough to call it correctly.

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% but the schema is loose (additionalProperties: true, no field definitions). The description compensates by specifying the actual structure - nodes with {id, type, config} and connections with {from, to} - which the schema does not provide.

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?

Specific verb+resource combination: validate a pipeline graph, with the added scope of 'before running'. It clearly separates from generic validation, though it doesn't explicitly name pipeline.validate_node to disambiguate graph-level vs node-level validation.

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?

'before running' establishes clear context for when to call it, and it suggests the input source (catalog.template(id).train or catalog.nodes()). No explicit when-not or alternative routing to validate_node, so it stops 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.