Skip to main content
Glama

login_keys_create

Create a DirectAdmin login key with optional IP and command restrictions to grant limited, secure access.

Instructions

Create a login key. Prefer IP-restricted, command-restricted keys.

Args: payload: Create body as documented by /api/login-keys/keys (name, expires, ips, commands, …). confirm: Required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
payloadYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not describe side effects, whether the secret is shown only once, permission requirements, or reversibility. The security preference and 'confirm: Required' hint at caution, but they do not explain the tool's actual behavior.

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 compact and front-loaded: the purpose comes first, followed by the security preference and argument notes. Every sentence adds information, and there is no filler or redundant restating of the schema.

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?

The tool has a nested free-form payload, no annotations, and no parameter descriptions in the schema, so the description needs to be more self-sufficient. It relies on an external API documentation reference, omits confirm semantics, and does not clarify required payload fields or the implications of creating a login key. This leaves important context unresolved.

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 0%, so the description must compensate. It lists example payload fields (name, expires, ips, commands) and says confirm is required, which adds some meaning beyond the bare schema. However, it does not explain what confirm actually confirms, and the schema marks only payload as required, creating a mild conflict.

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 states a specific verb and resource: 'Create a login key.' This clearly distinguishes it from siblings like login_keys_list, login_keys_get, login_keys_update, and login_keys_delete. No ambiguity about what the tool does.

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 phrase 'Prefer IP-restricted, command-restricted keys' provides useful security guidance for how to create keys, but it does not explicitly say when to use this tool versus alternatives like login_keys_update. Usage is implied by the tool name and the 'Create' verb, but no exclusions or alternative routing are stated.

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

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/OpenIaaS/directadmin-mcp-server'

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