Skip to main content
Glama

diff_envs

Compare Tekton tasks and pipelines between two catalog environments to spot differences before promotion, troubleshooting, or auditing.

Instructions

Compare tasks and pipelines between catalog environments.

Args: env_a: First environment. env_b: Second environment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "diff_envs"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_aNodevelopment
env_bNoproduction

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It never states that the operation is read-only, that both environments must exist, what happens with an unknown environment name, or what the comparison output represents (added/removed/changed entries). "Catalog environments" hints at a registry but gives no auth or lookup context.

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 description is short, front-loaded with the operation, and free of filler prose. The Args block is formulaic and largely redundant with the schema, but it costs little. Nothing is buried or padded.

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?

For a two-parameter, non-nested tool with an output schema, the definition covers the operation and both parameters at a minimum viable level. The output schema removes the need to describe return values. Still missing is anything about the defaults, environment validity, or the meaning of a diff, which leaves the agent under-informed given zero annotation coverage.

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

Parameters2/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 not: "First environment" and "Second environment" merely restate the parameter names. It omits that both parameters are optional with defaults of development and production, and it never explains what a valid environment name looks like or which side of the diff is the baseline.

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?

States a specific verb and resources: "Compare tasks and pipelines between catalog environments." The resource scope (tasks and pipelines) and the comparison axis (environments) are both clear, so an agent knows what the tool returns at a high level. It does not differentiate itself from the sibling diff_pipelines, which is the one meaningful gap.

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 when-to-use or when-not-to-use guidance, and no mention of alternatives such as diff_pipelines or show_task for inspecting a single environment. The only implicit cue is "between catalog environments," which is scope rather than guidance. The agent must infer selection criteria from the tool name alone.

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