Skip to main content
Glama
NPM Publisher MCP Server

NPM Publisher MCP Server

by GiDanis

publish_workflow

Automates NPM package releases by bumping versions, committing and tagging changes, pushing to Git, and publishing to NPM.

Instructions

Complete publishing workflow: bump version, commit, tag, and publish to NPM

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "versionType": "<versionType>"
    },
    "name": "publish_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPerform a dry run without publishing
npmTagNoNPM dist-taglatest
npmAccessNopublic
pushToGitNoPush commits and tags to Git remote
versionTypeYesVersion bump type
createGitTagNoCreate Git tag for the version
commitMessageNoGit commit message (auto-generated if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does reveal the core mutations (version bump, commit, tag, NPM publish), but it omits important side effects such as default Git remote pushing, authentication prerequisites, and the irreversibility of publishing.

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 a single front-loaded sentence that compactly lists the workflow stages. Every phrase earns its place, and there is no unnecessary wording.

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 complex, multi-step publishing tool, the definition gives an adequate high-level sequence. However, it lacks critical operational context such as prerequisites, default remote-push behavior, failure handling, and irreversible publish warnings, leaving gaps for an agent invoking a mutation-heavy workflow.

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 high at 86%, so the schema already documents most parameters well. The description adds only high-level context through phrases like 'bump version' and 'commit,' without explaining parameter-specific behavior beyond what the schema provides.

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 states a specific orchestration task and enumerates the major stages: bump version, commit, tag, and publish to NPM. It distinguishes the tool as a complete workflow rather than a single-step utility, though it does not explicitly name the granular sibling tools it replaces.

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?

Usage is implied by 'Complete publishing workflow,' suggesting it should be used when the full multi-step release process is desired. However, there is no explicit when-to-use guidance, no exclusions, and no comparison to alternatives such as npm_publish or git_commit_and_push.

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