Skip to main content
Glama
Sanjit-K

FTC Toolchain

by Sanjit-K

Read robot logs

robot_logs

Dump recent logcat from a REV Control Hub to debug OpMode crashes or misbehavior. Filter by SDK events, exception messages, or error-level entries.

Instructions

Dump recent logcat from the robot. Use after deploying or when an OpMode crashes/misbehaves. Useful filters: 'RobotCore' (SDK events), your OpMode class name, 'Exception'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNoHow many recent lines (default 300)
filterNoOnly lines containing this substring (case-insensitive)
serialNo
errorsOnlyNoOnly error-level log entries
Behavior3/5

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

With no annotations, the description carries full burden. It indicates a read operation ('dump') but does not elaborate on whether it is non-destructive, performance implications, or what happens if no logs exist. Adequate but lacks depth.

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 two sentences, front-loaded with the core purpose, and no unnecessary words. Efficiently communicates the essential 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?

Given 4 parameters, no output schema, and no annotations, the description covers usage and filter tips but omits details on 'serial' parameter and return format. Adequate but incomplete for comprehensive context.

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

Parameters3/5

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

The description adds value beyond the schema by suggesting filter values like 'RobotCore' and 'Exception'. However, it does not mention the 'serial' parameter, and schema already covers 75% of parameters. Moderate enhancement.

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 uses the verb 'Dump' and specifies the resource 'recent logcat', clearly indicating what the tool does. It distinguishes from siblings like 'clear_robot_logs' by focusing on reading 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?

The description explicitly states to use this tool 'after deploying or when an OpMode crashes/misbehaves', providing clear context. It also suggests useful filters but does not explicitly mention when not to use it or alternatives.

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/Sanjit-K/ftc-toolchain'

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