Skip to main content
Glama
spanchal001

mcp-ros2-logs

by spanchal001

get_node_summary_tool

Retrieve detailed analysis of a single node's log activity: uptime, message counts per severity, top recurring patterns, unique errors with timestamps, stack traces, and average message rate.

Instructions

Get detailed analysis of a specific node's log activity. Use after load_run.

Provides a comprehensive summary of one node including uptime, message counts per severity, top recurring message patterns, all unique errors with timestamps, any stack traces found, and average message rate.

Args: run_id: Run ID from list_runs or a direct path to a log file/directory. node: Node name to analyze (e.g., "sensor_driver", "motion_planner"). limit: Cap unique_errors and stack_traces lists. Defaults to MCP_ROS2_LOGS_MAX_RESULTS (100). offset: Number of items to skip in unique_errors and stack_traces (default 0). log_dir: Optional path to log directory override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes
nodeYes
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 provided, so description carries full burden. Lists output contents comprehensively (uptime, message counts, patterns, errors, stack traces, rate). Describes limit/offset parameter behavior. No side effects or destructive actions; appropriate for read-only analysis.

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?

Well-structured: purpose sentence with usage note, bulleted output summary, then labeled Arg definitions. Front-loaded key action. Every sentence adds value; no verbose or redundant content.

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 5 parameters, no annotations, and output schema not shown, description thoroughly covers purpose, usage, all parameters, and expected output content. Complete enough for agent to select and invoke correctly.

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 description provides full parameter explanations: run_id source options, node example, limit default (MCP_ROS2_LOGS_MAX_RESULTS), offset default, optional log_dir. Adds significant meaning beyond schema types.

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?

Clearly states specific verb ('Get detailed analysis') and resource ('node's log activity'). Distinguishes from siblings by specifying 'Use after load_run' and focusing on single node summary.

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 advises 'Use after load_run', indicating prerequisite. No explicit when-not-to-use or alternatives, but context makes it clear this is for single-node deep dive.

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