Skip to main content
Glama

analyze_ros_timestamps

Read-onlyIdempotent

Analyzes ROS topic header periodicity and callback arrival intervals separately to reveal timing irregularities without inferring DDS latency or physical sample jitter.

Instructions

Analyze Header periodicity and monotonic callback arrival intervals separately. Does not infer DDS latency or physical sample jitter.

Input Schema

NameRequiredDescriptionDefault
topicYes
duration_sNo
expected_rate_hzNo

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
sourceYes
statusNovalid
warningsNo
measurementsNo
schema_versionNo1.0
observed_at_utcNo
measurement_kindNoobserved

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent operation, so the bar is lower. The description adds meaningful interpretive boundaries by saying it analyzes Header periodicity and callback intervals 'separately' and explicitly does not infer DDS latency or physical sample jitter, which helps an agent avoid misusing the results.

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?

Two short sentences with no filler, and the main purpose is front-loaded before the negative scoping caveat. Every sentence adds distinct information.

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 values do not need description coverage, and the annotations carry the safety profile. However, for a three-parameter analysis tool with 0% schema description coverage, the description is too thin: it never explains duration or expected_rate_hz, which are central to a periodicity analysis.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for all three parameters, and the description does not explain what topic, duration_s, or expected_rate_hz mean or how they affect the analysis. With three undocumented parameters, the description fails to compensate for the schema coverage 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?

The description uses a specific verb (Analyze) with a specific resource (ROS Header periodicity and callback arrival intervals), so the tool's purpose is identifiable. It does not explicitly differentiate itself from the similar sibling analyze_timestamp_series or from inspect_ros_topic/inspect_ros_clock, which keeps it from a 5.

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

Usage Guidelines2/5

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

The description gives a negative boundary ('Does not infer DDS latency or physical sample jitter') but does not say when an agent should choose this tool over analyze_timestamp_series, inspect_ros_topic, or other ROS/time siblings. There is no positive when-to-use guidance or alternative routing.

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