Skip to main content
Glama

smart_git_push

Secure git pushes by automatically detecting credentials, filtering files, and tracking deployment metrics using AI-executed test results.

Instructions

AI-driven security-focused git push with credential detection, file filtering, and deployment metrics tracking. Tests should be run by calling AI and results provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoTarget branch for push (optional, uses current branch if not specified)
messageNoCommit message (optional, commits staged files if provided)
testResultsNoTest results from AI-executed tests (required for proper deployment tracking)
skipSecurityNoSkip security scanning (NOT RECOMMENDED)
dryRunNoShow what would be pushed without actually pushing
projectPathNoPath to project directory (defaults to current working directory)
forceUnsafeNoOverride security blocks and test failures (DANGEROUS)
Behavior3/5

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

The description mentions security-focused behavior and deployment metrics tracking, but does not detail side effects, authentication needs, or what happens on failure/security blocks. With no annotations, this is insufficient for full transparency.

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 short (two sentences), but the second sentence is more of an instruction than a description, slightly reducing clarity. Overall efficient, but could be improved.

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?

The description is minimal for a tool with 7 parameters, nested objects, and no output schema. It lacks details on return values, error handling, and behavior under different configurations.

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 baseline is 3. The description adds some context (e.g., credential detection) but does not significantly enhance understanding of individual parameters beyond the schema descriptions.

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 clearly states the tool performs a git push with security features like credential detection and file filtering. It distinguishes from siblings which are mostly about ADRs, research, and other non-git operations.

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 implies tests should be run before using this tool ('Tests should be run by calling AI and results provided'), but does not explicitly state when to use it over alternatives or when not to use it. No direct comparison to siblings.

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/tosin2013/mcp-adr-analysis-server'

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