Skip to main content
Glama
NPM Publisher MCP Server

NPM Publisher MCP Server

by GiDanis

git_create_tag

Creates a Git tag for the current package version, optionally naming it, adding a message, and pushing it to the remote to mark releases.

Instructions

Create a Git tag for the current version

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": "git_create_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoTag name (uses v{version} from package.json if not provided)
pushNoPush tag to remote
messageNoTag message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses almost nothing beyond the action itself. It does not say whether the tag is created locally by default, what happens if the tag already exists, or whether any repository state is required.

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 short sentence with no filler and the core action front-loaded. It is efficient, though thin enough that brevity comes at the cost of context rather than being a strength.

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 three-parameter, all-optional mutation tool with a fully documented schema and no output schema, the description is adequate to attempt a call. It is not adequate to predict behavior (local vs. pushed tag, conflict handling) for a tool with zero annotation coverage.

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%, so the schema already documents tag, push, and message; the baseline is 3. The phrase "for the current version" usefully implies the default tag is derived from package.json, but that is already stated in the tag parameter description.

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?

"Create a Git tag for the current version" gives a specific verb (create) and resource (Git tag) plus a scoping detail that the tag tracks the current version. It does not name or distinguish itself from siblings such as git_commit_and_push or npm_version_bump, so an agent must infer the boundary itself.

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?

The description states what the tool does but never says when to use it, when not to, or which sibling to prefer for related version/publish flows. No prerequisites (clean working tree, existing version in package.json) are mentioned.

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