Skip to main content
Glama

Dpanel Compose Create

dpanel_compose_create

Create or update a Docker Compose project from full YAML content and return the project ID. Pass an existing ID to update the project instead of creating a new one.

Instructions

创建/更新 compose 项目。compose_type ∈ text|remoteUrl|outPath(storagePath/store 不可手动建)。 yaml 为完整 docker-compose 内容(text 类型)。传 id 为更新。返回项目 id。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameYes
yamlYes
titleNo
environmentNo
compose_typeNotext

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does add real behavioral context: id triggers update mode and the tool returns the project id. However, it does not disclose side effects (whether creating/updating a project also deploys or starts containers), permission requirements, or what happens to existing containers on update — notable gaps for a mutation tool.

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?

Four short clauses, front-loaded with the create/update purpose and then the parameter rules, with essentially no filler. Dense and efficient, though the parenthetical constraint is somewhat compressed.

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?

An output schema exists, and the description still notes the returned project id, so return values are covered. The main remaining gap is that environment and title have no semantics anywhere, and side effects of a mutation tool with no annotations are not described.

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 0%, so the description must compensate. It does document yaml semantics, the id-update rule, and supplies the compose_type enum values (text|remoteUrl|outPath) that the schema itself lacks — genuinely valuable. But title and environment remain completely undocumented, so coverage is partial.

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?

States a specific verb+resource ('创建/更新 compose 项目') and clarifies that it both creates and updates depending on the id parameter, which distinguishes it from siblings like dpanel_compose_deploy or dpanel_compose_destroy. It does not explicitly name those siblings, but the create/update scope is unambiguous.

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?

Gives concrete selection logic: pass id to update, omit it to create, and compose_type must be one of text|remoteUrl|outPath while storagePath/store cannot be created manually. No explicit 'use X instead' routing against dpanel_compose_deploy/get_from_git/get_from_uri, but the when-to-use conditions are clear.

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