Skip to main content
Glama

compare_parameter_sets

Read-onlyIdempotent

Compare two offline parameter sets in the same directory and list added, deleted, and modified parameters to identify configuration differences.

Instructions

比较同一参数目录的两个离线参数集,列出新增、删除、修改。

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": {
      "baseline_id": "<baseline_id>",
      "target_id": "<target_id>"
    },
    "name": "compare_parameter_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
target_idYes
baseline_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds that the result is a three-way diff (added/removed/modified), which is useful. It says nothing about pagination of a potentially large diff or about behavior when the two sets come from different catalogs, which is exactly the failure mode an agent needs warned about.

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?

A single front-loaded sentence with no filler; every clause carries information about scope or output. It is efficient, though the extreme brevity leaves the coverage gaps noted elsewhere unaddressed.

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-value explanation is not required, and the description adequately conveys what comparison means. Missing is any treatment of the pagination parameters and of the cross-catalog error case, which are the two things most likely to cause an incorrect call.

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% across four parameters. The description implicitly conveys the meaning of baseline_id (before) and target_id (after) and adds the same-catalog constraint, which is genuinely useful. However, limit and offset — which govern how much of the diff is returned — are completely undocumented in both schema and description.

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 (compare) and resource (two offline parameter sets), plus the shape of the result: added, removed, modified. The scope constraint 'same parameter catalog' is stated. It does not distinguish itself from the sibling compare_device_parameter_snapshots, leaving the agent to infer why one comparison tool should be chosen over the other.

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 phrase 'from the same parameter set catalog' implies a prerequisite (both IDs must belong to one catalog), but there is no explicit when-to-use, when-not-to-use, or named alternative. With a near-identical sibling (compare_device_parameter_snapshots) present, the absence of routing guidance is a real gap.

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