Skip to main content
Glama

n8n_get_credential_schema

Retrieve the required fields and structure for credential types in n8n workflows to configure authentication properly.

Instructions

[UNIFIED] Get the schema for a credential type. Shows required fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
credential_typeYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It adds the useful behavioral detail that the schema specifically 'Shows required fields,' indicating the output distinguishes mandatory vs optional fields. However, it lacks disclosure on whether this is a read-only operation, response format, or caching behavior.

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?

The description is appropriately brief at two sentences. However, the '[UNIFIED]' prefix appears to be implementation metadata rather than descriptive content, slightly diluting the information density without adding value for tool selection.

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?

For a tool with two simple parameters and no output schema, the description captures the core retrieval purpose. However, given the complete lack of schema documentation for parameters, the description is minimally viable but incomplete—it should explain the parameter semantics to be fully adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage for both 'site' and 'credential_type' parameters. The description completely fails to compensate for this gap by explaining what constitutes a valid site identifier or credential_type value, leaving critical parameters undocumented.

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 clearly states the tool 'Get[s] the schema for a credential type' with the specific behavioral detail that it 'Shows required fields.' While the '[UNIFIED]' prefix is unnecessary metadata noise, the core purpose is unambiguous and distinguishes from sibling n8n_get_credential (which retrieves credential instances, not schemas).

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 provided on when to use this tool versus siblings like n8n_get_credential or n8n_create_credential. No mention of prerequisites (e.g., needing to know valid credential_type values beforehand) or when this schema retrieval is necessary in a workflow.

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/airano-ir/mcphub'

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