Skip to main content
Glama

rec_compare

Read-only

Compare two TwinCAT signal recordings to show per-symbol stat changes and BOOL pulse width/period deltas, revealing timing regressions after code changes.

Instructions

Before/after comparison of two recordings: per-symbol stat deltas (count, min, max, mean, changes, edges) and pulse width/period deltas for BOOLs — timing regression after a code change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
id_aYes
id_bYes
symbolsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds output-oriented context (stat deltas, pulse deltas) and a use case, but it omits behavioral constraints such as whether recordings must share configuration or any permission/rate-limit considerations.

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 a single dense sentence that front-loads the operation, then appends output details and the use case. No filler or repetition is present.

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 output schema covers return values and annotations cover the safety profile, so those gaps are not severe. The remaining incompleteness is in parameter semantics and comparison prerequisites, which the description does not address.

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%, so the description must explain the parameters. It does not map id_a/id_b to before/after recordings or clarify that symbols is an optional filter, leaving the parameter meaning largely to inference.

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 states a specific comparison operation over two recordings and enumerates the produced deltas (per-symbol stats, pulse width/period for BOOLs). It clearly differentiates from generic recording tools by focusing on before/after timing regression, though it does not explicitly name sibling alternatives such as snap_compare or exp_compare.

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

Usage Guidelines4/5

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

It gives a clear triggering context: timing regression after a code change. However, it does not state when not to use it or point to alternative comparison tools, so the routing guidance is incomplete.

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