Skip to main content
Glama
dsh-mcp-tools
by feely0208

发版检查

release_check

Checks release readiness using .release-guard.json rules: version consistency, tags/CHANGELOG, build artifacts, and sensitive files, returning block and warning lists without file changes.

Instructions

按仓库的 .release-guard.json 规则检查「现在能不能发版」:版本一致性、tag/CHANGELOG、构建产物、敏感文件等,给出阻断与警告清单。只读仓库,不改文件。

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

Input Schema

NameRequiredDescriptionDefault
npmNo是否额外查 npm 上的已发布版本(会联网,默认 false)。
repoNo仓库目录,默认当前工作目录。
timeout_msNo整体超时(毫秒),默认 120000、上限 600000;超时会终止子进程并返回 timeout 错误。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does well: it declares read-only behavior and that files are not modified, and it frames the output as a blocking/warning list. It does not cover permission requirements or what happens when the guard file is missing, and network behavior is left to the schema.

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 front-loaded sentence delivers the resource, the rule source, the checked items, the return shape, and the read-only guarantee with no filler.

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 parameterized read-only checker with no output schema, the definition says enough about what it evaluates and what it returns. Missing only edge-case framing such as absent config or how failures surface, which the timeout parameter partly mitigates.

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?

All three parameters already have full schema descriptions, including the npm network caveat and the timeout bounds and termination behavior, so the description adds nothing beyond them. The 100% coverage baseline of 3 applies.

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 concrete verb and resource — checking whether the repo can be released now per .release-guard.json rules — and enumerates the checks (version consistency, tag/CHANGELOG, build artifacts, sensitive files). It is unmistakably distinct from the sibling doc tools, though it never explicitly contrasts itself with an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the trigger clearly: a pre-release gate that answers "can we ship now" and returns blockers plus warnings. No exclusion cases or alternatives are given, but the context is unambiguous enough that an agent knows when to reach for it.

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

Deploy Server

Other Tools