Skip to main content
Glama
verdaccio

@verdaccio/mcp-server

Official
by verdaccio

create_token

Generate a new API token for the currently authenticated Verdaccio user by providing the account password, optionally restricting access with read-only mode or CIDR ranges.

Instructions

Create a new API token for the currently authenticated user in Verdaccio

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrNoCIDR ranges to whitelist for this token, e.g. ["192.168.1.0/24"]
passwordYesCurrent user password (required by Verdaccio to create tokens)
readonlyNoWhether the token should be read-only (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies an authenticated-session requirement via "currently authenticated user," but says nothing about whether the token secret is shown only once, whether creation is reversible, or any permission/rate constraints on a credential-minting operation.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity reflects thin content rather than disciplined density.

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?

For a security-sensitive creation tool with no annotations and no output schema, the description should at least note the required password and the one-time disclosure of the generated secret. Those gaps leave an agent without the context needed to call or handle the result correctly.

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%, and the schema already explains cidr, password, and readonly with examples and defaults. The description adds no additional parameter meaning, so the baseline of 3 applies.

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 description gives a specific verb+resource ("Create a new API token") scoped to "the currently authenticated user in Verdaccio," which clearly separates it from list_tokens and delete_token by name. It stops short of explicit sibling differentiation in prose, so a 4 rather than a 5.

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 guidance on when to choose this over list_tokens/delete_token, no prerequisites (e.g. that a valid password is mandatory), and no mention of what happens if a token already exists. The agent gets no routing or precondition information beyond the tool name.

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