Skip to main content
Glama
commit-check

commit-check-mcp

Official
by commit-check

validate_repository_state

Validate the latest commit, branch, author, and optional push safety state of a repository using commit-check rules.

Instructions

Validate the latest commit, branch, author, and optional push safety state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathNo
configNo
config_pathNo
include_messageNo
include_branchNo
include_authorNo
include_pushNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations exist, so the description must carry the full burden. 'Validate' is ambiguous—does it return a boolean, throw errors, or report state? No behavioral details are given, such as whether the operation is read-only or what happens on failure.

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 a single sentence of 13 words, making it concise and front-loaded. However, the structure could be improved by listing the validated aspects explicitly for clarity.

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?

With 7 parameters, composite validation purpose, and many sibling tools, the description is insufficient. It does not hint at return values, how it differs from individual validators, or which parameters are essential. An output schema exists but description fails to leverage that context.

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%. The description only mentions broad aspects (commit, branch, author, push) but does not explain key parameters like repo_path, config, or config_path. The include_* booleans are partially hinted, but non-boolean parameters are omitted entirely.

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 clearly states it validates the latest commit, branch, author, and optional push safety state. It distinguishes from sibling tools by implying it is a composite validation, though it does not explicitly contrast with individual validators.

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 provides no guidance on when to use this tool versus the more specific sibling tools (e.g., validate_author_info). It lacks context on prerequisites or recommended scenarios.

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/commit-check/commit-check-mcp'

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