Skip to main content
Glama

Inspect n8n workflow

n8n_introspect
Read-onlyIdempotent

Inspect a workflow and its saved executions with 23 deterministic local rules, returning findings and coverage without executing code.

Instructions

Inspect one workflow and saved executions with 23 deterministic local rules. profile sets paired defaults: quick uses 24h/20 and caps maxExecutions at 25; deep uses 168h/50 and reads at most four redacted details. includeSanitizedLabels=false keeps labels opaque; true opts into bounded sanitized labels. Use n8n_audit_generate for instance security or n8n_workflows_get for raw structure. Requires workflow/execution read permission; never executes or calls AI; returns findings and coverage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoUse quick for metadata triage or deep for up to four redacted execution details.quick
workflowIdYesStable ID of the workflow to inspect without executing it.
lookbackHoursNoHistory window in hours; defaults to 24 for quick and 168 for deep.
maxExecutionsNoMaximum saved executions to inspect; defaults to 20 for quick and 50 for deep, with quick capped at 25.
includeSanitizedLabelsNoInclude bounded pattern-sanitized workflow/node labels instead of opaque identifiers only (default false).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sampleYesExact execution-history scope, ordering confidence, requests, and byte budget used.
statusYesWhether all requested bounded evidence was collected and analyzed.
metricsYesFactual status, duration, node-timing, and value-free error-cluster measurements.
profileYesEffective quick or deep analysis profile used for this result.
summaryYesCounts of findings, rule outcomes, and any details omitted by output bounds.
findingsYesOrdered deterministic findings retained within the configured output limit.
guidanceYesBoundary guidance pointing to the separate instance-level n8n security audit tool.
workflowYesSanitized identity and basic structure of the inspected workflow.
limitationsYesCollection or analysis limitations that constrain interpretation of this result.
ruleCoverageYesPer-rule outcome and completeness evidence, including omitted finding counts.
engineVersionYesVersion of the deterministic local analysis engine that produced this result.
schemaVersionYesVersion of the stable structured introspect result contract.
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, etc.), the description adds key behavioral context: '23 deterministic local rules,' 'never executes or calls AI,' 'requires workflow/execution read permission,' and 'returns findings and coverage.' This enriches the agent's understanding of safety and output.

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 well-structured and concise. It front-loads the core purpose, then compactly explains profile behaviors, label options, alternatives, and safety guarantees. Every sentence provides value with no filler.

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 moderate complexity, the presence of a full input schema and output schema, and clear annotations, the description is complete. It covers purpose, usage distinctions, behavior, and permissions, leaving no critical gaps for the agent to resolve.

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?

Although schema coverage is 100%, the description adds substantial meaning beyond the schema: profile sets paired defaults (quick 24h/20 capped at 25; deep 168h/50 with at most four redacted details), and includeSanitizedLabels semantics are clarified. This helps the agent choose parameters correctly.

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 opens with a specific verb and resource: 'Inspect one workflow and saved executions with 23 deterministic local rules.' This clearly states what the tool does and differentiates it from siblings by explicitly naming alternatives like n8n_audit_generate and n8n_workflows_get for other use cases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool versus alternatives: 'Use n8n_audit_generate for instance security or n8n_workflows_get for raw structure.' It also describes profile-based usage (quick for metadata triage, deep for redacted details) and notes the required permission.

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/drzamarian/n8n-mcp-community'

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