Skip to main content
Glama
CainDez
by CainDez

gitee_delete_file

Delete a file from a Gitee repository by specifying its path, SHA, and commit message.

Instructions

Delete a file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (user/org/enterprise path)
repoYesRepository path name
pathYesFile path
messageYesCommit message
shaYesSHA of the file to delete
branchNoBranch name
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?

No annotations are present, so the description carries the full burden of behavioral disclosure. It states 'Delete a file' but fails to mention that this operation creates a commit, requires a commit message, or has irreversible effects within the repository. The description lacks any side-effect or return value information.

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 three words, with no extraneous content. It is front-loaded with the action. However, it lacks any structural formatting (e.g., bullet points or examples) which could improve readability. The conciseness is good, but some expansion would aid usability.

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

Completeness1/5

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

Given the complexity of the tool (10 parameters, 5 required), no output schema, and no annotations, the description is severely lacking. It fails to explain the commit process, the role of the SHA, or the impact on the repository. An agent would not have enough information to use the tool correctly without deep schema inspection.

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?

The input schema has 10 parameters with 100% description coverage, providing clear meaning for each field (e.g., 'SHA of the file to delete'). The description 'Delete a file' adds no additional parameter context beyond the schema. Therefore, the description does not materially enhance understanding of the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Delete a file', which is a verb+resource combination that makes the core action clear. However, it does not specify what type of file (e.g., file in a repository) or differentiate from other delete tools in the sibling list (e.g., gitee_delete_repo, gitee_delete_release). The name and parameters imply a repo file, but the description alone lacks specificity.

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 like gitee_update_file or gitee_create_file. There are no prerequisites mentioned, such as requiring the SHA of the file. An agent would need to rely solely on the tool name and schema to infer context.

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