Skip to main content
Glama
tcs-n8n-mcp
by ntatschner

list_variables

Read-onlyIdempotent

Retrieve n8n variable names and metadata without exposing stored values, with pagination and project filtering for safe inventory and audit workflows.

Instructions

List n8n variables without exposing their 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_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
stateNo
cursorNoOpaque pagination cursor from a previous n8n response
projectIdNoOpaque n8n resource ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description contributes one genuinely extra behavioral fact — that values are withheld from the response — but says nothing about pagination behavior, cursor handling, or result ordering, which matter for a list operation.

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?

A single short sentence with the resource and the key scoping constraint front-loaded; nothing is padded or redundant. Its brevity is efficient, though it leaves no room for the operational detail the tool needs.

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

Completeness2/5

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

An output schema exists, so return-value explanation is not required, and annotations cover safety. However, for a four-parameter paginated list tool with half its parameters undocumented and an ambiguous `state` filter, the description is too thin to let an agent call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: cursor and projectId are documented, while limit and the unusual `state` parameter (constrained to the constant "empty") are undocumented in both schema and description. The description never mentions any parameter, so it fails to compensate — particularly for `state`, whose filtering semantics are opaque from the name alone.

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 description pairs a specific verb and resource ("List n8n variables") with a meaningful scope qualifier ("without exposing their values"), so an agent knows exactly what the call returns. It stops short of distinguishing itself from the sibling variable tools (create_variable, update_variable, delete_variable), but the read/list intent is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives — the agent must infer that this is the read path for variables purely from the verb. The value-redaction note implies something about the use case but does not route the agent anywhere.

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