Skip to main content
Glama
npow

metaflow-mcp-server

by npow

diff_runs

Compare two Metaflow runs to identify changes in source code, parameters, environment, and metadata. Helps debug regressions and investigate run differences.

Instructions

Compare two Metaflow runs: source code, parameters, environment, and system metadata.

Produces a structured diff showing what changed between two runs of the same flow. Useful for debugging regressions, understanding why a run succeeded when another failed, or auditing parameter/dependency changes.

Sections in the diff:

  • code: unified diff of the source code snapshots

  • metadata: tags, system tags (metaflow version, runtime, etc.)

  • parameters: flow parameter values

  • environment: conda/pypi package additions, removals, and version changes

Args: source_pathspec: Run pathspec for the "before" run (e.g. "MyFlow/100"). target_pathspec: Run pathspec for the "after" run (e.g. "MyFlow/101").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_pathspecYes
target_pathspecYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It details diff sections (code, metadata, parameters, environment) but does not discuss side effects or performance; the read-only nature is implied.

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?

Well-structured with clear sections and examples, but slightly longer than necessary; could be more concise without losing clarity.

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 output schema exists, description does not need to detail return values. It covers purpose, parameters, and diff sections completely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but description explains both parameters with format examples and purpose (source_pathspec, target_pathspec), adding value beyond the schema.

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 it compares two Metaflow runs, listing specific aspects (source code, parameters, environment, system metadata) and distinguishes from sibling tools like compare_cards.

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 provides usage context (debugging regressions, understanding failures, auditing) but does not explicitly state when not to use or mention alternatives.

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/npow/metaflow-mcp-server'

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