Skip to main content
Glama
verzth

n8n MCP Server

by verzth

List n8n Credentials

n8n_list_credentials
Read-onlyIdempotent

List credential metadata (names and IDs) from n8n, with optional name filter and pagination. Requires owner/admin role; secret values are not returned.

Instructions

List all credentials. Requires owner/admin role. Credential data (secrets) are NOT returned — only metadata.

Args:

  • name (string?): Filter by credential name

  • limit (number): Max results (1-250, default 20)

  • cursor (string?): Pagination cursor

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFilter by credential name
limitNo
cursorNoPagination cursor
Behavior4/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description adds crucial behavioral details: secrets are not returned, only metadata, and pagination is supported. It also mentions the role requirement. No contradictions with annotations.

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 succinct and well-structured with a title sentence, role/behavior note, and an Args list. The Args section is slightly redundant with the schema but remains readable and compact.

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?

Despite lacking an output schema, the description covers the essential context: credential listing is metadata-only, requires admin, supports filtering and pagination. It does not describe the return structure but that is not critical for this simple list tool.

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 67% (name and cursor have descriptions, limit has constraints). The description repeats the parameter list without adding new meaning beyond the schema, except for clarifying limit range and defaults which are already in the schema. Baseline 3 is appropriate because the schema does the heavy lifting.

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 'List all credentials' with the specific scope of metadata-only results, distinguishing it from sibling tools like n8n_get_credential (single credential) and n8n_create_credential (write operation). The title and name reinforce the resource and action.

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?

Provides clear context for usage by requiring owner/admin role and explicitly warning that secrets are not returned. This indirectly guides the agent away from using this tool when secrets are needed. It does not explicitly name alternatives but gives sufficient contextual guidance.

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

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