Skip to main content
Glama
anatolykoptev

n8n MCP Agent

n8n-analyze-logs

Analyze n8n logs to identify known error patterns, categorize issues, and provide suggested actions.

Instructions

Analyze n8n logs for known error patterns. Returns categorized issues with suggested actions. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logsYesArray of log lines to analyze
serviceNoService name to filter patterns (e.g., "n8n")
clientIdYesClient ID from init-n8n
filterBotScansNoFilter out bot scanner requests (default: true)
Behavior3/5

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

With no annotations, the description carries the full burden. It describes the function and the argument format requirement, but lacks details on authorization, side effects, error behavior, or output structure. This is a moderate disclosure.

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 concise with three short sentences. Each sentence adds value: purpose, output, and an important invocation constraint. No unnecessary words.

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?

The description covers input and purpose but provides only a vague output description ('categorized issues with suggested actions'). With no output schema, more detail on the return format would improve completeness. It is adequate but not thorough.

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?

Schema coverage is 100%, so baseline is 3. The description adds only the note about compact JSON format, which is minor and relates to invocation, not parameter meaning. It does not significantly enhance understanding beyond the schema.

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 clearly states the verb 'Analyze' and resource 'n8n logs', and specifies the output: 'categorized issues with suggested actions'. However, it does not differentiate from sibling tools like n8n-patterns-*, which might also deal with patterns.

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 does not provide guidance on when to use this tool versus alternatives. It only states what it does, without exclusions or context for when it is appropriate. The IMPORTANT note is about invocation format, not usage discretion.

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/anatolykoptev/n8n-mcp-agent'

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