Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

create_api_keys

Idempotent

Create API keys for Audiobookshelf to authenticate API clients. Submit the request body with the desired key details to generate new credentials.

Instructions

Create or act on api api-keys.

POST /api/api-keys

Args: body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already indicate readOnlyHint=false (write operation), idempotentHint=true, and destructiveHint=false, so safety is covered. However, the description adds little beyond that—it does not explain side effects (e.g., whether existing keys are invalidated), authentication requirements, or response behavior. The phrase 'act on' is ambiguous and does not disclose what happens on creation. No contradiction with annotations.

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 concise, with only three lines including the HTTP endpoint and an Args section. It is not bloated and gets to the point quickly. However, the phrase 'Create or act on' is vague and could be more specific, but overall the structure is efficient.

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?

Given the tool's complexity (one opaque parameter, many related siblings, and an existing output schema), the description is incomplete. It relies on external lookups (GET/schema) for field definitions, does not clarify what 'act on' means, and provides no information about return values or usage conditions. For a create operation with no annotation coverage of behavior, this is insufficient.

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

Parameters2/5

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

Schema coverage is 0%: the only parameter 'body' is an opaque object with additionalProperties=true, so the schema provides no field details. The description directs the agent to read a GET or /schema endpoint for field information, which is a helpful workaround but does not actually describe the parameter semantics. It falls short of compensating for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource (api-keys) and HTTP method, but the verb 'act on' is vague and could imply update or delete actions beyond creation. It distinguishes from siblings by mentioning 'api-keys', but does not clearly separate create from patch/delete operations. The tool name clarifies creation, but the description itself lacks precision.

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?

There is no explicit guidance on when to use this tool versus alternatives like patch_api_keys_by_id or delete_api_keys_by_id. The only hint is to read the matching GET or /schema endpoint first, which is a prerequisite for constructing the body but not a usage scenario. No exclusion criteria or alternative routing is provided.

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

Deploy Server

Other Tools