Skip to main content
Glama

diff_menus

Read-only

Compare two menu files to detect breaking changes for clients and the token change per conversation. Reads files only and reports the version bump needed for a release range.

Instructions

Compare two menu files (from snapshot_menu save_as, or toolmenu snapshot): breaking changes for clients, the token change per conversation, and the version bump it needs. Reads files only.

Input Schema

NameRequiredDescriptionDefault
cwdNoFolder to run from: where the server starts, toolmenu.config.json is read and relative paths resolve. Default: where toolmenu mcp runs.
afterYesThe newer menu file.
beforeYesThe older menu file, e.g. the committed menu.json.
releaseNoThe release versions to check the bump against: "1.4.0..1.5.0".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint annotations already establish the safe local-read profile, and the description usefully adds that it computes breaking changes, token deltas, and version-bump requirements. It does not describe error behavior or the exact result structure, but it goes meaningfully beyond the annotations.

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 tight sentence with the comparison front-loaded and the computed outputs listed compactly. 'Reads files only' is short and reinforces the operational boundary without wasting space.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only diff tool with no output schema, the description gives the key result categories an agent needs and identifies likely input sources. It is nearly complete, though it could say more about failure cases or the result format.

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 before, after, cwd, and release are already documented by the schema. The description adds context about where the menu files typically come from, but it does not add parameter-level syntax or format meaning beyond that 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?

The description names a specific verb and resource: compare two menu files. It further specifies the useful outputs (breaking client changes, per-conversation token change, required version bump), but it does not explicitly distinguish itself from the sibling tools beyond naming snapshot_menu as a file source.

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?

Usage is implied by the mention of files from snapshot_menu save_as or toolmenu snapshot, which tells the agent when such files exist. However, there is no explicit when-to-use or when-not-to-use guidance and no direct comparison to alternatives.

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

Deploy Server

Other Tools