Skip to main content
Glama
duynghien

n8n-custom-mcp

by duynghien

delete_credential

Remove a stored credential safely. Prevents deletion if the credential is still used by workflows unless the force option is enabled.

Instructions

Delete a credential with safety checks (blocks if in use unless forced)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCredential ID to delete
forceNoForce delete even if used by workflows (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explicitly discloses the important safety behavior: deletion is blocked when the credential is in use unless the force flag is set. This is valuable context beyond the schema, though it does not mention irreversibility or permission requirements.

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?

The description is a single sentence that is direct, front-loaded, and free of filler. It packs the core action and the critical safety behavior into minimal words without losing clarity.

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 tool with only two simple parameters and no output schema, the description covers the essential behavior: deletion with a safety check and a force override. It could mention that deletion is irreversible, but the current description is sufficiently complete for an agent to understand the operation's core semantics.

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 description coverage is 100%, so the schema already documents the id and force parameters well. The description's mention of 'unless forced' aligns with the force parameter but does not add new semantic detail beyond what the schema provides. Baseline 3 applies.

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 action ('Delete') and the resource ('a credential'), and adds the key distinguishing nuance of safety checks. It is unambiguous and differentiates this tool from sibling tools like delete_workflow or update_credential.

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?

The use case is implied: use this when a credential needs to be deleted. However, the description does not explicitly say when to use it versus other credential-related tools, nor does it mention prerequisites or caveats beyond the force behavior. The guidance is adequate but not explicit.

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