Skip to main content
Glama
TanNhatCMS

github-binary-mcp

by TanNhatCMS

delete_file

Deletes a file from an allowed GitHub repository path, enforcing the same allowlist, denylist, and rate limits used for pushes.

Instructions

Delete a file under the allowed path prefixes (same allowlist/denylist as push). Rate-limited like pushes.

Input Schema

NameRequiredDescriptionDefault
pathYes
repoYes
ownerYes
branchNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/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 disclosure burden and usefully reveals allowlist/denylist restrictions and rate-limiting behavior. However, it omits important mutation context such as whether deletion is irreversible, what permissions are required, and how branch/message parameters affect behavior.

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 two tight sentences with the core action front-loaded and no wasted text. The allowlist and rate-limit context is delivered efficiently.

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?

For a destructive delete operation with no annotations and no output schema, the description is too sparse. It covers path restrictions and rate limits, but omits irreversibility, permission requirements, and the meaning of optional branch/message parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 only clarifies that 'path' is constrained by the allowed path prefixes; it does not explain owner, repo, branch, or message semantics, leaving most of the five parameters undocumented.

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 states a specific verb and resource: 'Delete a file' under allowed path prefixes. It distinguishes the operation from the push/get siblings by explicitly referencing push-related constraints, though it does not directly name an alternative tool.

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?

The description implies the tool deletes files, but gives no explicit guidance on when to use it versus push_binary_file, push_binary_files, or get_binary_file. It mentions shared allowlist/denylist and rate-limiting behavior but no usage exclusions or routing criteria.

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