Skip to main content
Glama

diff_pipelines

Compare two pipelines to find shared and unique tasks and parameter differences, clarifying release workflow changes across development, staging, or production catalogs.

Instructions

Compare two pipelines: shared tasks, unique tasks, param diffs.

Args: name_a: First pipeline. name_b: Second pipeline. category: Category for both. env: Catalog environment: 'development', 'staging', or 'production'. Empty for latest.

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": {
      "name_a": "<name_a>",
      "name_b": "<name_b>"
    },
    "name": "diff_pipelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
name_aYes
name_bYes
categoryNomanaged

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. 'Compare' implies a read-only operation and the first line discloses the result breakdown (shared, unique, param diffs), but nothing states whether the call is side-effect free, how missing or mismatched pipelines are handled, or whether results are ordered.

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?

The summary sentence is front-loaded and the Args block is compact, with no filler prose. The name_a/name_b entries add almost no information over their own identifiers, which is the only wasted space.

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

Completeness3/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 needn't be spelled out, and the description covers the comparison dimensions and env selection adequately for a 4-parameter tool. It remains silent on error cases, on whether both names must exist in the same category, and on the default category behavior, which are meaningful gaps for a no-annotation tool.

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 description coverage is 0%, so the description must compensate, and it does for the two most ambiguous parameters: env is given its allowed values and the 'Empty for latest' rule, and category is identified as shared for both pipelines. However, name_a and name_b are explained only tautologically as 'First pipeline'/'Second pipeline', and the 'managed' default for category is never surfaced.

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 opens with a specific verb and resource ('Compare two pipelines') and enumerates what the comparison yields (shared tasks, unique tasks, param diffs), so an agent knows exactly what it gets. It does not distinguish itself from the sibling diff_envs, which compares environments rather than pipelines, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance and no mention of alternatives such as diff_envs or show_pipeline. Usage is only inferable from the verb 'compare', which is the same thin implication that earns a 2 in comparable mutation/query descriptions.

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