Skip to main content
Glama
NPM Publisher MCP Server

NPM Publisher MCP Server

by GiDanis

git_status

Inspect Git repository status to identify uncommitted changes and branch details before committing or publishing.

Instructions

Check Git repository status (uncommitted changes, branch info)

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNoGit repository directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 load. 'Check' correctly signals a non-mutating read, and the parenthetical discloses the two categories of returned information, which is useful context an agent could not get from the schema. It does not state what happens for a non-repository directory, whether the output is machine-parseable, or how errors are 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?

One sentence, front-loaded with the verb and resource, with the parenthetical appended for concrete detail. There is no filler, hedging, or redundant restatement of the tool name.

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 a simple, optional-parameter, read-only status tool with no output schema, the description covers both the action and the shape of the result, which is largely sufficient. The remaining gap is minor: it does not describe default-directory behavior or failure modes, both of which matter for a tool that depends on the ambient filesystem state.

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% for the single optional 'directory' parameter, so the schema already documents it and the baseline of 3 applies. The description adds no information about the parameter — such as whether it accepts a path to a subdirectory or defaults to the current working directory when omitted.

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 names a specific verb ('Check') and resource ('Git repository status'), and the parenthetical enumerates the information surfaced (uncommitted changes, branch info). It is clear what the tool does, but it says nothing to distinguish it from siblings like npm_login_status or git_commit_and_push, so an agent gets no routing signal from the text 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?

There is no explicit when-to-use guidance, no prerequisites (e.g., a Git repo must exist, git must be installed), and no mention of alternatives such as git_commit_and_push for actually recording changes. The only usage cue is the implicit read-only 'Check', which an agent must infer.

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