Skip to main content
Glama

Validate Git Config

lyzr_git_validate_config

Validate git connection configuration for an agent without saving. Verify repository, branch, and provider settings in one step.

Instructions

Validate a git connection configuration for an agent without saving it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgNoOrganization/owner name
patNoPersonal access token
branchNoDefault branch to use (default main)
agent_idYesAgent id
base_urlNoBase URL for self-hosted git providers
providerNoGit provider, e.g. github (default github)
repo_nameYesRepository name
environmentsNoList of deployment environment names
Behavior3/5

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

Annotations already convey the tool is not read-only, not idempotent, and not destructive. The description adds the key insight that it does not save the configuration. Yet it does not disclose potential side effects (e.g., connecting to an external git provider, validating credentials) or what happens during validation. With annotations present, the bar is lower, but some transparency about validation's external interactions is missing.

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 a single, front-loaded sentence with no filler. It immediately states the tool's action, target, and key differentiator, earning its place without redundancy.

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?

The tool has 8 parameters, full schema coverage, and annotations, but no output schema. The description clearly states the tool validates a config without saving, but it does not hint at the return value or success/failure semantics. Given the absence of an output schema, a note about what constitutes a successful validation would improve completeness.

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 100% parameter description coverage, so the baseline is 3. The description adds no parameter-specific context, but none is necessary since the schema fully documents each field, including defaults and self-hosted base URL usage.

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 identifies the verb ('Validate'), the resource ('git connection configuration'), and the scope ('for an agent'). The phrase 'without saving it' directly distinguishes this tool from lyzr_git_save_config and other persistence-related siblings, fully clarifying the tool's unique purpose.

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 description implies usage context by stating the tool validates a config without saving it, which distinguishes it from the save and disconnect operations among siblings. However, it does not explicitly name alternatives or provide when-to-use/when-not-to-use guidance, leaving room for improvement but not ambiguity.

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/nandanNM/lyzr-mcp'

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