Skip to main content
Glama

create_pins_xml

Idempotent

Creates a legacy PIN for Plex authentication. Use this to generate a PIN for device linking or authorization workflows.

Instructions

Create Legacy PIN.

POST /pins.xml

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior2/5

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

Annotations already carry the non-read-only, non-destructive, idempotent, and open-world hints, and the description adds no behavioral context beyond restating the create operation and endpoint. It does not mention auth needs, side effects, or retry implications.

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 minimal and front-loaded: one purpose sentence plus the exact endpoint. Both lines earn their place and there is no redundant filler.

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 zero-parameter create operation with an output schema and safety annotations, the endpoint and purpose may be enough to invoke correctly. The main missing context is the relationship to the modern create_pins flow, but that is more of a usage-guidance gap.

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

Parameters4/5

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

The input schema has zero parameters, so the baseline is 4 even though the description supplies no parameter details. Schema coverage is effectively complete because there are no properties to document.

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 action, 'Create Legacy PIN,' and gives the concrete HTTP endpoint 'POST /pins.xml.' The word 'Legacy' also helps distinguish it from the sibling create_pins tool.

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 term 'Legacy' and the .xml endpoint imply this is for the older PIN-creation flow, so an agent gets some usage context. However, the description does not explicitly state when to prefer this over create_pins or how it fits into the PIN/auth lifecycle.

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