Skip to main content
Glama
SohailShabbir867

n8n Automation MCP Server

create_credential

Create new n8n credentials by specifying name, type, and secret data. Use with credential types like OpenAI, GitHub, or Postgres to authenticate workflows.

Instructions

Create a new credential instance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesCredential secret payload values object. Fields vary by type (e.g., { apiKey: 'sk-...' } or { user: 'root', password: 'secret' })
nameYesCredential instance name (e.g., Production OpenAI API Key)
typeYesCredential type identifier. Use list_credential_types to view all supported names (e.g. openAiApi, githubApi, slackOAuth2Api, postgresDb)
Behavior2/5

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

The description adds no behavioral context beyond what the readOnlyHint=false annotation already implies. There is no mention of side effects like duplicate name handling, permission requirements, or what the response includes. No contradiction exists.

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 directly states the tool's function with no unnecessary words. It is appropriately sized for a simple create operation.

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?

With no output schema and minimal annotations, the description should explain return values or duplicate behavior, but it does not. The schema covers parameters thoroughly, but lacks contextual information about the operation's outcome, making the overall description incomplete.

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?

The input schema provides 100% parameter descriptions, including examples and cross-reference for the type parameter. The tool description itself adds no additional parameter meaning, so the baseline score of 3 is appropriate.

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 'Create a new credential instance' uses a specific verb and resource, clearly identifying the action. It distinguishes from siblings like update_credential and delete_credential by the 'create' verb and 'credential' resource.

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 is given on when to use this tool versus alternatives. It doesn't mention that list_credential_types should be consulted for valid type values, nor does it exclude update_credential for existing credentials. Only the implied use case of 'creating' is present.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SohailShabbir867/n8n_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server