Skip to main content
Glama

lint_workflow

Read-only

Checks an exported n8n workflow for runtime failure patterns, leaked secrets, and template readiness gaps so you can fix issues before sharing or deploying.

Instructions

Check an exported n8n workflow for run-time failure patterns and things to remove before sharing.

profile: 'run' = reliability only; 'share' = reliability + secrets/personal data (default);
'template' = share + n8n Creator Hub template checks (sticky notes, node names).
Secret values are masked in the output.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lint_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
profileNoshare
workflow_jsonNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description does not need to argue safety. It adds real behavioral context instead: findings differ by profile and secret values are masked in the output, which an agent would otherwise have to discover empirically. It stops short of describing output shape, but an output schema exists to cover that.

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 core purpose is front-loaded in one sentence, followed by a compact enumeration of profile behaviors. No filler, though the profile block is laid out as a run-on line rather than a clean list, which costs a small amount of scannability.

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

Completeness4/5

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

All three parameters are optional, the operation is read-only, and a return schema exists, so the remaining burden on the description is modest. It covers purpose, mode selection, and the masking behavior that most affects interpretation of results; only the input-source choice (path vs inline JSON) is left entirely to the schema.

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 reported at 0% and the enum parameter carries no in-schema description, so the description must carry the 'profile' semantics, and it does so precisely by defining all three values and the default. It does not explain the path-vs-workflow_json tradeoff, but both are documented in the schema itself.

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 definition uses a specific verb ('Check') on a specific resource ('an exported n8n workflow') and names the class of findings ('run-time failure patterns and things to remove before sharing'). That is enough for an agent to separate it from summarize_workflow or list_rules, though it never states the distinction explicitly.

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 bulk of the description is mode-selection guidance: 'run' for reliability only, 'share' for reliability plus secrets/personal data, 'template' for additional Creator Hub checks. This tells an agent exactly which profile to pick, but there is no stated condition for choosing this tool over its siblings.

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

Deploy Server

Other Tools