Skip to main content
Glama

git_lint_commit_message

Validates commit messages against Conventional Commits guidelines, catching format and structure errors before they reach your repository.

Instructions

Validate a commit message against Conventional Commits guidelines.

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": {
      "message": "<message>"
    },
    "name": "git_lint_commit_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesCommit message to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does not meet it. It never says whether validation is pure/read-only, whether it reports a boolean, a list of violations, or parsed Conventional Commits components, and there is no output schema to compensate. A caller cannot predict the response shape at all.

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?

One short sentence, front-loaded with the verb and with no filler. It is efficient, though the brevity edges toward under-specification rather than maximal usefulness.

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?

This is a simple one-parameter tool with full schema coverage, so the description need not be long. However, with no annotations and no output schema, the definition should at least sketch the validation outcome (pass/fail vs. detailed rule violations) to be complete for an agent deciding how to consume the result.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains 'message'. The description adds no format details such as whether a full multi-line message with body and footer is expected versus a subject line only, so it stays at the baseline.

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 uses a specific verb and resource ('Validate a commit message') and names the exact rule set ('Conventional Commits guidelines'), so there is no ambiguity about what the tool does. It does not explicitly contrast itself with the sibling tools, but none of them (risk summary, hotspots, commit search) overlap with validation, so the gap is minor.

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?

Usage is only implied: an agent can infer this is the tool to call when it needs to check a message before committing, but the description never states when to use it, what precondition triggers it, or what to do with the result. No alternatives or exclusions are mentioned, and there are none among the siblings, so nothing is actively misleading.

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