Skip to main content
Glama

stage

Prepare npm package versions for review before publishing. Inspect pending versions, download tarballs, and approve or reject releases to control what gets published.

Instructions

Stage a package, inspect pending versions, download a tarball, or approve/reject a stage. Approval publishes the version; rejection removes the staged version. Requires an npm CLI supporting npm stage.

Input Schema

NameRequiredDescriptionDefault
otpNo2FA code for approving or rejecting a stage
tagNoDist-tag for staged publish
pathNoPackage directory for publish; destination directory for download
accessNoAccess for staged publish
actionYes
dryRunNoPreview staged publish without uploading
packageNoOptional package spec to filter the list
stageIdNoRequired for view, download, approve, and reject

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.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 and does disclose key side effects: approval publishes, rejection removes the staged version, and the npm CLI requirement. It still omits important context such as OTP/2FA needs for approve/reject, permission requirements, and other action-specific effects.

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?

The description is three focused sentences with no obvious filler, and it front-loads the main capabilities. The first sentence is dense but still readable, and the subsequent sentences add useful behavioral and prerequisite context.

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 an 8-parameter, multi-action tool with no output schema and no annotations, the description gives a useful overview of actions, key side effects, and CLI compatibility. Most remaining details are covered by the high-coverage input schema, though explicit usage differentiation from siblings is still missing.

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 88%, so the input schema already documents most parameters in detail. The description loosely maps actions to behaviors such as listing, downloading, and approving/rejecting, but adds little specific parameter meaning beyond the schema.

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 specific operations for the stage tool: stage a package, inspect pending versions, download a tarball, and approve/reject a stage. It clearly distinguishes what this tool does, though it does not explicitly contrast it with sibling tools such as publish, view, or pack.

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?

It implies the staging workflow by noting that approval publishes the version and rejection removes the staged version, and it adds a prerequisite: an npm CLI supporting npm stage. However, it gives no explicit guidance about when to choose this tool over siblings like publish or view.

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