Skip to main content
Glama
Cloady

Cloady

Official
by Cloady

Run Git Action

runGitAction
Destructive

Execute Git actions—discard, stage, commit, checkout, merge, rebase, cherry, pull, push—to manage code changes; push commits to persist them as they are lost otherwise.

Instructions

One action per call: discard, stage, unstage, commit, checkout, merge, rebase, revert, cherry, pull or push. Commits live in the container and die with it unless pushed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNo
regionNo
appSlugYes
requestBodyNoThe JSON request body.
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.7/5.0
Behavior4/5

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

The description adds the important behavioral note that commits reside in the container and vanish unless pushed, which is beyond the destructiveHint annotation. It also implies mutating operations via the listed actions, but does not elaborate on all side effects (e.g., discard intentionally removes changes).

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 extremely concise and front-loads the list of actions in a single sentence. It avoids redundant wording and efficiently conveys the core behavior and the critical caveat about commit persistence.

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 complex nested oneOf schema with action-specific requirements, the description is far too terse. It does not explain which parameters are needed for each action, nor does it address the destructive nature of certain operations (e.g., discard, revert). The agent would need to deeply inspect the schema to use the tool correctly, and the description provides negligible context to aid that process.

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?

The schema has only 20% description coverage (only requestBody is described). The tool description lists valid action values but does not explain the required workspaceSlug, appSlug, env, or region parameters, nor how the requestBody varies per action. This leaves too much for the agent to infer from the schema alone.

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

Purpose5/5

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

The description explicitly lists all supported actions (discard, stage, unstage, commit, checkout, merge, rebase, revert, cherry, pull, push), making its purpose unmistakable. It clearly distinguishes from sibling read-only tools like getGitDiff or getGitOverview by focusing on mutating git state.

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 provides some guidance (e.g., 'One action per call' and the ephemeral nature of commits) but does not explicitly state when to use this tool versus alternatives. It lacks explicit contrasts with sibling tools like inspectSource or getGitDiff, leaving users to infer the intended use case from the action list.

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