Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

update_credential

Updates an existing n8n credential by ID, letting you change its name, type, or data while keeping other fields unchanged.

Instructions

Update an existing credential. All fields are optional.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "update_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCredential ID to update
dataNoNew credential data
nameNoNew credential name
typeNoNew credential type (requires data to also be provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the whole burden and it says essentially nothing about behavior. It does not disclose whether the update is a merge or a replace, what happens to omitted fields, whether the type change is destructive, or what the response looks like.

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?

Two short sentences with the action front-loaded and no filler. The brevity is appropriate, though the second sentence spends its words on a claim that is not strictly accurate.

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?

This is a mutation tool with no annotations, no output schema, and a free-form nested 'data' object. The description should explain partial-update semantics, the shape of data, and any side effects, but it covers none of this.

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 100%, so the schema documents id, data, name, and type (including that type requires data). Baseline 3 applies, but the description's 'All fields are optional' is imprecise because the schema marks id as required, which risks confusing the caller.

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: 'Update an existing credential'. An agent can tell it mutates an existing credential rather than creating or deleting one. However, it does nothing to differentiate itself from the sibling create_credential or delete_credential beyond the verb.

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?

No guidance on when to use this instead of create_credential or delete_credential, and no preconditions such as required permissions or whether the credential must already exist. The only signal is 'existing' in the first sentence.

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