Skip to main content
Glama
JonathanChan-geek

autoshop

project_build_copy

Creates a new project directory, applies SHA-256 verified multi-file patches, optionally converts LD to IL, then compiles and packages with AutoShop. Failed runs discard intermediates.

Instructions

可选全部 LD 转换、多文件补丁、原厂编译和打包的一次调用;失败不发布中间工程。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destYes源工程之外、尚不存在的新目标目录
patchesNo按文件组织的原哈希和 edits;所有匹配基于修改前文本,禁止重叠
projectYes含唯一 HCP 索引的完整工程目录
convert_allNo是否先将全部 LD 转为 IL,默认 false;补丁哈希必须匹配转换后的 IL
install_dirNoAutoShop 安装目录;省略时读取 AUTOSHOP_INSTALL_DIR

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does add one important guarantee: '失败不发布中间工程' (on failure, intermediate project is not published), implying transactional behavior. However, it does not disclose success outputs, whether the source project is mutated, required permissions, or what artifacts are produced, so transparency is partial.

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?

The description is a single dense sentence that front-loads the composite workflow and ends with the critical failure behavior. There is no filler or repetition, and every clause contributes decision-relevant information.

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 5-parameter tool with no annotations and no output schema, the description gives the essential orchestration-level context and the key failure guarantee. Still, it leaves unspecified the return or artifact details, execution order, and success behavior, though the rich schema covers parameter-level facts.

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 baseline is 3. The description does reinforce how the pipeline stages map to meaningful parameter groups, particularly that patch hashes relate to converted IL, but the detailed semantics are already well documented in the input 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 names a specific composite workflow: optional full LD conversion, multi-file patching, factory compile, and packaging in one call. This distinguishes it from the granular sibling tools like il_batch_patch_copy, native_compile_copy, and package_project. It stops short of an explicit verb-resource statement about copying or building into dest, so it's clear but not maximally precise.

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?

The phrase '一次调用' clearly signals that this tool is for combining multiple pipeline stages into a single invocation rather than calling siblings separately. This provides clear usage context, but the description does not state explicit when-not-to-use conditions or name specific alternative sibling tools.

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