Skip to main content
Glama
andhit-r

n8n MCP Server

by andhit-r

create_credential

Create a new credential in n8n by specifying its name, type, and data schema. Supports integrations like GitHub API, Slack API, and more.

Instructions

Buat credential baru di n8n.

Tipe credential dan skema data-nya bergantung pada integrasi n8n. Contoh: tipe githubApi memerlukan {"accessToken": "ghp_xxx"}. Lihat dokumentasi node n8n untuk skema data per tipe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNama credential (mis. 'GitHub Personal Token')
credential_typeYesTipe credential n8n (mis. 'githubApi', 'slackApi', 'httpHeaderAuth')
dataYesData credential sesuai skema tipe (mis. {'accessToken': '...'} untuk githubApi)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations provided, so the description must fully disclose behavioral traits. It mentions that the data schema depends on integration but does not cover permissions, idempotency, duplicate handling, or side effects. The create action is implied but lacks depth.

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?

Description is concise: two sentences plus an example and a reference to documentation. It is front-loaded with the purpose and immediately useful.

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

Completeness3/5

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

With an output schema and all parameters described, the description adds context on integration dependency and documentation. However, it lacks details on error scenarios, required permissions, or limitations, making it adequate but not complete.

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 baseline is 3. The description adds a concrete example for the 'data' parameter, which provides additional context beyond the schema, but not significantly beyond baseline.

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?

Description clearly states the action ('Buat credential baru') and resource ('credential'). It distinguishes from sibling tools like delete_credential or list_credentials by its verb. An example is provided for clarity.

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?

Description mentions that the credential type and data schema depend on the integration and provides an example, guiding the user on usage. However, it does not explicitly state when to use this tool versus alternatives (though none exist) or when not to use it.

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/andhit-r/n8n-mcp'

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