list_tokens
Retrieve all API tokens for the authenticated user in Verdaccio to manage or revoke access.
Instructions
List all API tokens for the currently authenticated user in Verdaccio
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Retrieve all API tokens for the authenticated user in Verdaccio to manage or revoke access.
List all API tokens for the currently authenticated user in Verdaccio
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the auth scoping ('currently authenticated user'), which tells the agent a session is required, but says nothing about pagination, ordering, or whether token secrets are included in the output.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler. The scope qualifier is placed at the end where it reads naturally, and no sentence is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple parameterless list tool with no output schema, the description says what is listed and whose tokens they are, which is enough to invoke it correctly. Minor gaps around return contents and pagination remain.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there are no parameter semantics to document - the baseline for a parameterless tool applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (List) and resource (API tokens) with a clear scope ('currently authenticated user in Verdaccio'). The verb alone distinguishes it from create_token and delete_token siblings, though it does not explicitly name them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the description - view your own tokens - but there is no explicit when-to-use or when-not guidance, and no reference to alternatives like get_profile. For a zero-param read tool this is minimal but acceptable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.