Skip to main content
Glama

git_agentic_workflow

Executes multi-step Git and GitHub tasks from a natural-language request by planning and running the required operations, then returning the plan and outcome.

Instructions

Agentic multi-step Git/GitHub workflow using LLM sampling.

Describe a high-level task in natural language. The tool reasons about the required steps, executes them via git_ops/github_ops, and returns a structured result with the plan and outcome.

Examples: task="Create a release branch from main, bump version, and open a PR" task="List all open issues tagged 'bug' and create a summary" task="Check repo status, stage all changes, commit and push"

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task": "<task>"
    },
    "name": "git_agentic_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNo
taskYes
ownerNo
repo_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real value by revealing that the tool reasons about steps and actually executes them via git_ops/github_ops, which tells the agent this performs real repository mutations, and that the response contains both a plan and an outcome. It omits permissions/auth prerequisites, whether destructive pushes are confirmed, failure/rollback behavior, and the cost or latency of LLM sampling.

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 core statement is front-loaded and each example is short and illustrative of a distinct multi-step pattern. Slightly verbose in formatting, but no sentence is wasted.

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

Completeness3/5

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

For an agentic, mutating orchestrator, the description covers the concept and the input style, and the presence of an output schema means return values needn't be spelled out. However, the complete absence of parameter documentation and the lack of any prerequisite or safety context leave meaningful gaps for a tool of this complexity.

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% across four parameters, so the description must compensate and largely does not. The `task` parameter is well illustrated by the three examples, but `repo`, `owner`, and `repo_path` are never mentioned or explained, leaving the agent to guess at their meaning and precedence.

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 names a specific capability: an LLM-driven multi-step Git/GitHub orchestrator that plans, executes via git_ops/github_ops, and returns a structured result. That implicitly separates it from the low-level siblings (git_branch, git_core, github_ops) by making clear this is the high-level planning layer. It stops short of explicitly naming when a sibling should be used instead, so it doesn't reach a 5.

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

Usage Guidelines4/5

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

The instruction to 'describe a high-level task in natural language' plus three concrete multi-step examples clearly establish the intended use case and the expected input style. There is no explicit exclusion such as 'do not use for single atomic git commands, use git_core instead', so guidance is clear but not fully directive.

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