Skip to main content
Glama

Analyze AK UART log

analyze_ak_log

Parses AK board UART logs to detect FATAL codes, timing issues, and reboot loops, then outputs diagnosis and fix commands.

Instructions

Paste raw UART console output from an AK board (boot logs, -SIG-> traces, FATAL banners, fatal l/fatal m dumps, timing lines) and get a structured diagnosis: detected FATAL codes with cause and fix, run-to-completion/starvation timing issues, reboot-loop detection, and the exact shell commands to run next.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logYesRaw text captured from the 115200 UART console.
contextNoOptional: what the engineer observed (symptom, when it happens).
Behavior4/5

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

No annotations are provided, so the description must fully convey behavioral traits. It describes the input format and expected outputs (FATAL codes, timing analysis, reboot detection, shell commands). It does not mention side effects or permissions, which is acceptable for a read-only diagnostic tool.

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 well-structured sentence that front-loads the purpose. Every part contributes meaning (input, types of analysis, output), with no wasted words.

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 tool's diagnostic role and lack of output schema, the description fully covers inputs and outputs. It explains what the tool does with the log and what structured diagnosis it returns, making it self-contained.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by specifying the types of content expected (boot logs, -SIG-> traces, FATAL banners) and what the output includes, which goes beyond the schema descriptions.

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 specific verb 'analyze' and resource 'AK UART log', listing concrete outputs (FATAL codes, timing issues, reboot-loop, shell commands). It clearly distinguishes from sibling tools like search_ak_docs or get_ak_api.

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 states when to use the tool (when you have raw UART console output) and what it does. It does not explicitly exclude alternatives, but the context is clear enough that this tool is for log diagnosis, while siblings serve other purposes.

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/the-ak-foundation/mcp-docs-server'

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