Skip to main content
Glama

wafle_auth_keys_create

Create narrowly-scoped wafle API keys for onboarding users, integrations, or agents. The secret is returned once, so store it immediately; admin-only: tenant clients cannot mint keys.

Instructions

Create a new wafle API key with the given scopes. Returns the secret ONCE — store it immediately.

Use when onboarding a new dashboard user, integration, or agent. Prefer narrowly-scoped keys.

If the wafle backend has not yet implemented /auth/keys POST, this tool returns the upstream error untouched.

Admin-only: tenant clients cannot mint API keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable label, e.g. 'Vigía COO automation'.
scopesYesScopes to grant; see scope matrix in the readme.
expires_atNoOptional epoch seconds at which the key expires.
store_slugNoOptional: scope the key to a single store.
Behavior5/5

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

Discloses a critical behavioral trait: the secret is returned only once and must be stored immediately. Also warns about potential backend unimplemented endpoint and upstream error propagation. Annotations are sparse (no readOnlyHint, but idempotentHint false is consistent with creation). The description adds significant value beyond 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 compact and well-structured: main purpose and critical warning in the first sentence, usage context second, backend caveat third, access control fourth. Every sentence serves a distinct purpose without fluff, making it highly readable and actionable.

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

Completeness5/5

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

For a credential-creation tool with no output schema, the description covers all necessary context: security (secret-once), access control (admin-only), usage scenarios, and error behavior. It is complete for the tool's complexity and complements the schema and annotations well.

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 schema already documents all parameters. The description adds minimal parameter-specific meaning (e.g., 'given scopes' is redundant, but 'Prefer narrowly-scoped keys' gives usage guidance for scopes). Baseline 3 is appropriate; no additional parameter semantics provided.

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 tool's action ('Create a new wafle API key') with a specific resource and required scopes, distinguishing it from sibling tools like wafle_auth_keys_list. The verb+resource pattern is explicit and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use context ('onboarding a new dashboard user, integration, or agent'), recommends best practice ('Prefer narrowly-scoped keys'), and clearly states an exclusion ('Admin-only: tenant clients cannot mint API keys'). This gives the agent strong guidance on invocation.

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/the33warehouse-tech/wafle-mcp'

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