Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

list_credentials

Retrieve metadata for all credentials stored in n8n without exposing secret values. Use pagination to browse stored credential records and inspect available credential details.

Instructions

List all credentials stored in n8n (returns metadata only, not secret values).

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": "list_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per page
cursorNoPagination cursor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the single most consequential behavior: only metadata is returned, never secret values. It does not state read-only semantics explicitly or describe ordering/pagination behavior, so the disclosure is strong but not complete.

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?

One sentence with the resource scope front-loaded and the qualifier in a compact parenthetical. Nothing is wasted and nothing needs reordering.

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?

For a two-optional-parameter read tool with no output schema, the definition covers the essentials including the shape of what comes back (metadata only). It could go slightly further by noting pagination must be followed via cursor or naming typical metadata fields, but nothing critical is missing.

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 coverage is 100% and both parameters (limit, cursor) are documented in the schema; the description adds no contradicting or redundant parameter text. Minor tension remains in saying "all" while the schema exposes pagination, but the schema resolves it.

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?

States a specific verb and resource ("List all credentials stored in n8n") and adds a parenthetical clarifying what is returned. It is naturally distinguishable from create_credential/delete_credential, but it never names or contrasts a sibling explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the verb — an agent can infer this is the read path for credentials. There is no explicit when-to-use/when-not guidance, no mention of alternatives such as get_credential_schema for inspecting credential shapes, and no prerequisites stated.

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