Skip to main content
Glama

create_auth_jwk

Idempotent

Register a device JWK to authenticate API access, replacing the need for manual key setup when integrating Plex services.

Instructions

Register Device JWK.

POST /auth/jwk

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

B3.2/5.0
Behavior3/5

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

Annotations already indicate a non-read-only, idempotent, non-destructive operation, and the description's 'Register' plus POST aligns with that. It adds a small behavioral hint by directing the agent to consult the GET or /schema endpoint first, but it does not disclose side effects, auth requirements, or response 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 compact and well-structured: action first, then endpoint, then the single argument with guidance. Every line earns its place, though the parameter guidance is necessarily brief.

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?

The presence of an output schema and annotations reduces the burden on the description, and the pointer to GET/schema helps compensate for the opaque body parameter. However, it lacks context about when registration is appropriate and what the device JWK is used for, leaving the agent to infer the tool's role from its name.

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 describes 'body' as the request payload and tells the agent to discover expected fields via the matching GET or /schema endpoint, which is useful but still leaves actual field semantics undisclosed.

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 phrase 'Register Device JWK' names a specific action and resource, and the endpoint 'POST /auth/jwk' reinforces the intent. It does not explicitly compare itself to sibling tools, but the JWK resource is distinctive enough for an agent to narrow down among the many create_* tools.

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?

The description gives no guidance on when to use this tool versus alternatives such as create_auth_token or create_security_token. The only process advice is to read the matching GET or /schema endpoint first, which is about parameter discovery, not tool selection.

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