Skip to main content
Glama

compare_device_parameter_snapshots

Read-onlyIdempotent

Compare two offline device parameter snapshots to report value and definition changes, added or missing parameters, and flag mismatched device, version, or capture scope.

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_device_parameter_snapshots"
  }
}

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.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses meaningful behavior: the comparison is offline, missing items are reported but never restored to defaults, and nothing is written to the device. It also notes that device, version and collection-scope consistency are flagged, which is real behavioral context an agent could not infer from annotations alone.

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?

Dense and front-loaded: the comparison action and its four report categories come first, followed by the consistency checks and the no-write guarantee. No filler, though the single run-on sentence could be split for readability.

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 safety profile is covered by annotations. The remaining gap is parameter meaning: for a four-parameter tool with zero schema coverage, the description should say what baseline_id and target_id represent and that limit/offset paginate.

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% and none of the four parameters (baseline_id, target_id, limit, offset) are explained in the description. It does not clarify that baseline_id and target_id identify the two snapshots being compared, nor that limit/offset paginate results, so the description fails to compensate for the schema gap.

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 resource: offline comparison of two real-device backups, reporting value changes, definition changes, additions and missing items. This clearly separates it from the sibling compare_parameter_sets, which compares parameter sets rather than device snapshots, though it never names that sibling explicitly.

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 establishes the operating context (offline, read-only, no device writes) and the reporting scope, which implies when to use it. However, it gives no explicit when-to-use versus when-not guidance and does not point to compare_parameter_sets or create_device_parameter_snapshot as alternatives.

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