Skip to main content
Glama
CainDez
by CainDez

gitee_create_file

Create a new file in a Gitee repository by specifying the file path, commit message, and base64-encoded content. Optionally set branch, author, and committer details.

Instructions

Create a new file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (user/org/enterprise path)
repoYesRepository path name
pathYesFile path
messageYesCommit message
contentYesBase64-encoded file content
branchNoBranch name (default branch if omitted)
author_emailNoAuthor email
author_nameNoAuthor name
committer_emailNoCommitter email
committer_nameNoCommitter name
Behavior2/5

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

With no annotations available, the description carries full responsibility for behavioral disclosure. It only states 'Create a new file' without explaining that content must be base64-encoded, that branch defaults to default branch, or that author/committer fields are optional. This is insufficient 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?

The description is extremely concise at four words, fitting a single sentence with no wasted text. However, it lacks structure and is arguably too brief, omitting necessary details that could be included without sacrificing conciseness.

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?

Given the complexity (10 parameters, no output schema, no annotations), the description is insufficient. It does not explain the file creation process, encoding requirements, branch behavior, or how to specify author/committer info. The agent lacks enough context to use the tool correctly.

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 coverage is 100%, so all parameters are documented in the schema. The description adds no additional meaning beyond the schema, providing no extra context about parameter relationships or usage hints. Baseline of 3 is appropriate.

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 'Create a new file' clearly states the verb and resource, making the core purpose understandable. However, it fails to distinguish from sibling tools like gitee_update_file or gitee_commit_multiple_files, missing an opportunity for differentiation.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as gitee_update_file or gitee_commit_multiple_files. There is no mention of prerequisites, context, or exclusions, leaving the agent to infer usage without support.

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

Install Server

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/CainDez/mcp-gitee'

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