Skip to main content
Glama

get_diff_between_versions

Compare two historical versions of a network device configuration to see the unified diff. Provides clear before/after changes for troubleshooting and audit.

Instructions

Return a unified diff between two historical versions of a device configuration. The node may be an exact name or a unique partial name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeYesdevice hostname, full name, or unique part of the name
groupNodevice group in Oxidized (optional)
version_aYesfirst version number (older)
version_bYessecond version number (newer)
context_linesNonumber of unchanged lines to show around each change block

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does disclose the output format (unified diff) and mentions that node matching allows partial names, but it does not address error handling, version ordering, or ambiguous matches. This adds some context but leaves significant gaps.

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 two sentences long and immediately states the primary purpose in the first sentence. The second sentence adds one key constraint about node matching. Every word earns its place, with no fluff.

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?

The schema and output schema cover parameters and return format, so the description is adequate for a basic call. However, it lacks guidance on edge cases like version ordering, ambiguous partial-name matches, or how the group parameter affects the lookup. Given the tool's moderate complexity and lack of annotations, the description is only moderately complete.

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 all parameters are already well described. The tool description only repeats the node-matching detail already present in the schema and adds no new parameter semantics. Thus, it does not exceed the baseline.

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 tool returns a unified diff between two historical versions of a device configuration, which is a specific action with a clear resource. This distinguishes it from sibling tools like get_device_versions (which lists versions) and get_config_with_inline_diff (which likely compares against current config).

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

Usage Guidelines3/5

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

The description explains what the tool does but does not explicitly state when to use it versus alternatives, nor does it provide exclusions or prerequisites. The usage context is implied by the action, but no direct comparison to sibling tools is given.

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/meks007/mcp-oxidized'

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