Skip to main content
Glama
jianghua-developer

bridge-mcp-server

Generate Single

generate_single

Creates a single project directory from a Git template by cloning the repo, reading its protocol, validating the spec, and copying files; the target directory must be empty or nonexistent.

Instructions

单端直生成:clone → 读协议 → spec 校验 → copier copy(零注册,target_dir 须为空/不存在)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
git_urlYes
versionNo
skip_tasksNo
target_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 burden, and it does disclose meaningful traits: this is a multi-step pipeline, it performs 'zero registration' (side-effect scope), and target_dir has a hard emptiness precondition. It omits permissions/auth, failure modes, and whether the clone is cached or temporary, so it is partial but not empty.

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 dense line with the pipeline front-loaded via arrows and the critical constraint parenthesized at the end. Nothing is wasted, though the extreme terseness borders on under-specification for a 5-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, a nested params object, and 5 parameters at 0% schema coverage, the description is too thin. An agent cannot tell what params should contain, what version does, or what skip_tasks skips.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 5 parameters, so the description must compensate and largely does not. It adds real meaning only for target_dir (must be empty/nonexistent); git_url, params, version, and skip_tasks are entirely undocumented in both schema and description, including the nested params object.

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 operation ('单端直生成' = single-target direct generation) and enumerates the pipeline it performs (clone → read protocol → spec validation → copier copy). This contrasts implicitly with the sibling generate_multi, though the distinction 'single vs multi' is conveyed by the name rather than stated explicitly.

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 gives one usage precondition — target_dir must be empty or nonexistent — which tells the agent when the call will succeed. However, it never states when to choose this over generate_multi, nor any prerequisites about the git_url or protocol source, so routing guidance is only implied.

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