Skip to main content
Glama

diff_environment

Compare two environment snapshots by name to show what was added, removed, or changed between them, helping you track configuration drift.

Instructions

Compare two environment snapshots and show additions, removals, and changes

Input Schema

NameRequiredDescriptionDefault
toYesName of the 'after' snapshot
fromYesName of the 'before' snapshot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv8.0.4

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It indicates that the tool compares snapshots and reports additions/removals/changes, which implies a read-only comparison, but it does not state whether snapshots must already exist, what happens if one is missing, or any permission/auth requirements.

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 definition is a single efficient sentence with the core action and return categories front-loaded. There is no filler or repetition.

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 simple two-parameter comparison tool with complete schema coverage, the description is functionally adequate. However, it leaves out practical context such as where snapshot names come from and behavior when a named snapshot does not exist.

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 100%, so both parameters are already documented as the 'before' and 'after' snapshot names. The description reinforces that two snapshots are compared but adds no syntax or naming-format guidance beyond the schema.

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 gives a specific verb and resource: 'Compare two environment snapshots' and names the categories of result ('additions, removals, and changes'). It is clear what the tool does, though it does not explicitly distinguish itself from related siblings like capture_environment or get_environment_context.

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?

It says what the tool does but gives no guidance on when to use it versus alternatives, such as when to capture a snapshot first or when to use get_environment_context instead. There are no exclusions or prerequisite conditions.

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