n8n_delete_variable
Delete an n8n environment variable by its ID to remove unused or outdated variables from workflows.
Instructions
Delete an environment variable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variable ID to delete |
Delete an n8n environment variable by its ID to remove unused or outdated variables from workflows.
Delete an environment variable.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variable ID to delete |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The destructiveHint annotation already signals that the operation is destructive, and the description specifies which object is destroyed. However, it does not disclose additional behavioral details such as irreversibility, side effects on workflows referencing the variable, or required permissions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It conveys the essential operation immediately and is appropriately sized for a tool with one parameter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter delete operation, the description, schema, and destructiveHint annotation provide enough information to select and invoke the tool correctly. A small gap remains around expected return behavior and post-deletion effects, but these are not critical given the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%: the single required 'id' parameter is described as 'Variable ID to delete.' The description does not add further parameter-level meaning, so the schema carries the burden and the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action, 'Delete', applied to a specific resource, 'an environment variable.' This unambiguously distinguishes the tool from sibling delete tools such as n8n_delete_workflow and n8n_delete_credential.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like n8n_update_variable or n8n_list_variables. It only states the basic operation, leaving the agent to infer the appropriate context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leonardosepulvedat/mcp-n8n'
If you have feedback or need assistance with the MCP directory API, please join our Discord server