Skip to main content
Glama
spanchal001

mcp-ros2-logs

by spanchal001

get_timeline_tool

Generate a condensed narrative summary of ROS2 logs by grouping consecutive same-severity messages, highlighting severity transitions, and flagging gaps in node activity. Quickly understand key events from a log run.

Instructions

Get a condensed narrative summary of a ROS2 log run. Use after load_run.

Compresses the full log timeline into a readable narrative by grouping consecutive same-severity messages, highlighting severity transitions (e.g., INFO -> ERROR), and flagging gaps where a node went silent. Essential for quickly understanding what happened in a long run.

Args: run_id: Run ID from list_runs or a direct path to a log file/directory. time_start: Start time filter. ISO format, epoch, or relative ("-30s" = 30s before run end, "+10s" = 10s after run start). time_end: End time filter. Same format as time_start. nodes: Filter by node name(s). Comma-separated: "sensor_driver,planner". limit: Maximum events to return. Defaults to MCP_ROS2_LOGS_MAX_RESULTS (100). offset: Number of events to skip (default 0). log_dir: Optional path to log directory override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes
time_startNo
time_endNo
nodesNo
limitNo
offsetNo
log_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses that the tool compresses logs, highlights severity transitions, and flags silent gaps, which goes beyond a basic 'get summary' and reveals behavioral traits. Does not contradict annotations.

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?

The description is well-structured with a clear first sentence stating purpose, a usage note, a brief paragraph explaining behavior, and then Args. It is slightly verbose but still efficient and front-loaded; every sentence adds value.

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

Completeness5/5

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

Given the complexity (7 parameters, 0% schema coverage), the description thoroughly documents all parameters and explains the output nature (condensed narrative, transitions, gaps). The presence of an output schema covers return values, so the description is complete for invoking this tool.

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

Parameters5/5

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

Schema description coverage is 0%, but the description provides extensive parameter documentation in Args, explaining run_id, time_start/time_end formats (ISO, epoch, relative), nodes as comma-separated, limit default, offset, and log_dir. This adds significant meaning beyond the schema's bare types and titles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it gets a 'condensed narrative summary of a ROS2 log run' and explains its function: compressing consecutive same-severity messages, highlighting severity transitions, and flagging silent gaps. This distinguishes it from sibling tools like query_logs_tool or tail_logs_tool which provide detailed logs.

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?

Explicitly says 'Use after load_run', giving clear context for when to invoke. Does not explicitly state when not to use or list alternatives, but the purpose as a high-level summary implies it should be used for quick overviews rather than detailed analysis.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spanchal001/mcp-ros2-logs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server