Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

create_file

Create a new file in a Codeup repository by specifying repository, branch, file path, content, and commit message.

Instructions

[Code Management] Create a new file in a Codeup repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchYesBranch name
contentYesFile content
encodingNoEncoding rule, options {text, base64}, default is text
filePathYesFile path, needs to be URL encoded, for example: /src/main/java/com/aliyun/test.java
repositoryIdYesRepository ID, or org/repo path with slashes URL-encoded as %2F. e.g. 2835387 or myorg%2Fmyrepo
commitMessageYesCommit message, not empty, no more than 102400 characters
organizationIdYesOrganization ID
Install Server

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says that a new file is created and does not mention commit/branch semantics, whether existing files are protected, permissions needed, encoding behavior, or side effects such as commit creation.

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?

The description is a single short sentence that is front-loaded with the action and resource. The '[Code Management]' prefix provides minimal category context and does not add meaningful verbosity.

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?

This is a mutation tool with 7 parameters, no annotations, and no output schema. The one-line description is not enough to explain end-to-end behavior such as commit creation, branch handling, encoding effect on content, or what the tool returns after success.

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 schema already documents all 7 parameters. The prose description adds no extra parameter-level meaning beyond what the schema provides, which meets the baseline expected for fully covered schemas.

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 clearly states what the tool does: 'Create a new file in a Codeup repository.' The verb 'create' and resource 'new file' make the purpose distinct from sibling file operations like update_file and delete_file, though it doesn't explicitly call out those siblings.

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?

The description implies usage for adding a brand-new file, which differentiates it from update_file or delete_file. However, there is no explicit 'when to use' or 'when not to use' guidance, and no reference to alternatives or prerequisites like branch existence.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-devops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server