Skip to main content
Glama
zenml-io

ZenML MCP Server

Official
by zenml-io

list_run_templates

Retrieve and filter deprecated run templates in ZenML workspaces. Use list_snapshots for modern pipeline management.

Instructions

List all run templates in the ZenML workspace.

⚠️ DEPRECATED: Run Templates are deprecated in ZenML. Use `list_snapshots` instead.
Snapshots are the modern replacement for run templates. To find runnable
snapshots, use `list_snapshots(runnable=True)`.

Args:
    sort_by: The field to sort the run templates by
    page: The page number to return
    size: The number of run templates to return
    created: The creation date of the run templates
    updated: The last update date of the run templates
    name: The name of the run templates
    tag: The tag of the run templates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sort_byNodesc:created
pageNo
sizeNo
createdNo
updatedNo
nameNo
tagNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively communicates the deprecation status and migration path, which is critical behavioral context. However, it doesn't mention pagination behavior, rate limits, or authentication requirements, leaving some gaps in operational transparency.

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?

The description is well-structured and appropriately sized. It front-loads the purpose and critical deprecation warning, then provides parameter documentation. Every sentence serves a clear purpose with zero wasted text.

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

Completeness5/5

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

Given the tool's complexity (7 parameters, no annotations, but with output schema), the description is complete enough. It covers the purpose, deprecation context, alternative tool, and parameter semantics. With an output schema present, the description appropriately doesn't need to explain return values.

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 description coverage is 0%, so the description must compensate. It lists all 7 parameters with brief explanations of their purposes (e.g., 'The field to sort the run templates by', 'The page number to return'), adding meaningful semantics beyond the bare parameter names in the schema. However, it doesn't provide format details (e.g., date format for 'created') or enum values for 'sort_by'.

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?

The description clearly states the verb ('List') and resource ('all run templates in the ZenML workspace'), making the purpose specific and unambiguous. It also distinguishes this tool from its sibling 'list_snapshots' by explicitly mentioning the deprecated nature of run templates versus snapshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when NOT to use this tool (due to deprecation) and names the alternative ('list_snapshots'), including specific usage instructions for the alternative ('list_snapshots(runnable=True)'). This gives clear context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zenml-io/mcp-zenml'

If you have feedback or need assistance with the MCP directory API, please join our Discord server