Skip to main content
Glama

Create API Key

dual_create_api_key

Generate API keys for server-to-server integration with the DUAL Web3 Operating System. Keys are displayed once for immediate secure storage.

Instructions

Create a new API key for server-to-server integration. The key value is only shown once — save it immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDescriptive name for the key
permissionsNoOptional permissions to restrict the key's access
Behavior4/5

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

Annotations indicate this is a non-readOnly, non-destructive, non-idempotent operation with openWorldHint. The description adds valuable context beyond annotations by warning that 'The key value is only shown once — save it immediately,' which is critical behavioral information about data persistence and security not covered by structured fields.

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 two sentences, front-loaded with the core purpose and followed by a critical warning. Every word earns its place, with no redundancy or fluff, making it highly efficient and easy to parse.

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

Completeness4/5

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

For a creation tool with no output schema, the description is reasonably complete: it states the action, integration context, and key behavioral warning. However, it lacks details on response format (e.g., what fields are returned) or error conditions, which would enhance completeness for an agent invoking the tool.

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%, with clear descriptions for both parameters (name and permissions). The description does not add any additional meaning or examples beyond what the schema provides, such as format constraints or permission examples. Baseline 3 is appropriate given the schema's thoroughness.

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 clearly states the specific action ('Create a new API key') and resource ('for server-to-server integration'), distinguishing it from sibling tools like dual_list_api_keys (list) and dual_delete_api_key (delete). The purpose is unambiguous and directly addresses 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 description implies usage for server-to-server integration but does not explicitly state when to use this tool versus alternatives like dual_login (for user authentication) or dual_create_webhook (for event notifications). No exclusions or prerequisites are mentioned, leaving usage context somewhat open-ended.

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/ro-ro-b/dual-mcp-server'

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