Skip to main content
Glama
NPM Publisher MCP Server

NPM Publisher MCP Server

by GiDanis

npm_login_status

Check your NPM authentication status and see which user is currently logged in, so you can confirm publishing credentials before releasing packages.

Instructions

Check NPM authentication status and logged-in user

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "npm_login_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses that the result includes the logged-in user, but says nothing about what happens when unauthenticated (error vs. a status field), whether it performs a network/registry call, or how the status is reported.

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?

A single front-loaded sentence with no filler. Every word ('check', 'authentication status', 'logged-in user') contributes to identifying the tool's scope.

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?

For a trivial zero-parameter tool the definition is nearly sufficient, but with no output schema the description should say what is returned on both success and failure. It hints at the user field but not at the not-logged-in case, leaving an agent unable to predict failure behavior.

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 tool takes no parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly avoids inventing parameter claims.

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 uses a concrete verb ('Check') with a specific resource ('NPM authentication status') and adds the extra payload ('logged-in user'). It reads clearly as a read-only status probe, distinguishable from siblings like npm_publish or npm_check_published, though it never explicitly names a sibling to sharpen that contrast.

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 purpose implies when to call it (e.g., verify auth before a publish), but the description never states that context, prerequisites, or any alternative. With a zero-parameter, single-purpose tool the implied usage is unambiguous, so this is adequate rather than absent guidance.

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