Skip to main content
Glama

n8n_find_workflows_using_credential

Find all workflows and nodes referencing a specified credential, using credential ID or name. Identifies dependencies before rotating or deleting credentials.

Instructions

Scan workflows and surface every node that references a given credential. Pass either credentialId (exact, preferred) or credentialName (case-insensitive substring fallback). Returns one finding per (workflowId, nodeName, credentialType) plus a per-workflow summary count. Read-only. Bounded-concurrency fan-out; per-workflow fetch errors land in fetchErrors instead of failing the whole scan. Pairs with n8n_run_audit and is the answer to 'I'm rotating creds, where do I need to update?' before calling n8n_delete_credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
credentialIdNoExact credential id to match (preferred). Either this or credentialName is required.
credentialNameNoCase-insensitive substring match on credential name. Either this or credentialId is required.
activeOnlyNoOnly scan active workflows. Default false.
includeArchivedNoInclude archived workflows in the scan. Default false.
maxWorkflowsNoCap on workflows INSPECTED (default 250). Counted after the active/archived filter, so the scanner may page through more list rows than this when many archived workflows are skipped, but it will not fetch more than `maxWorkflows` full workflow definitions.
concurrencyNoParallel getWorkflow requests (default 3, max 8).
Behavior5/5

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

The description discloses key behaviors beyond what annotations would cover: 'Read-only. Bounded-concurrency fan-out; per-workflow fetch errors land in fetchErrors instead of failing the whole scan.' It also explains the return structure. Given no annotations, this fully informs the agent of the tool's operational characteristics.

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 well-structured and front-loaded with the main purpose. It is slightly verbose but every sentence adds necessary information. Could be trimmed slightly, but remains effective and clear.

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?

Despite lacking an output schema, the description thoroughly explains the return format: 'one finding per (workflowId, nodeName, credentialType) plus a per-workflow summary count.' It also accounts for error handling. Given the tool's complexity with 6 parameters, this is comprehensively complete.

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?

Schema description coverage is 100%, but the description adds significant value by explaining the interplay between parameters (e.g., credentialId vs credentialName) and clarifying defaults and behaviors for maxWorkflows and concurrency. For instance, it explains how maxWorkflows is counted and that concurrency has a default of 3.

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 clearly states the tool's purpose: 'Scan workflows and surface every node that references a given credential.' It also distinguishes itself from siblings by noting it 'Pairs with n8n_run_audit and is the answer to... before calling n8n_delete_credential.' This specificity helps the agent differentiate from other tools like n8n_find_workflows_using_node_type.

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 provides clear guidance on when to use the tool, instructing to pass either credentialId (preferred) or credentialName. It contextualizes usage: 'before calling n8n_delete_credential.' While it does not explicitly state when not to use it, the guidance is sufficient for correct invocation.

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/lidless-labs/n8n-ops-mcp'

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