Skip to main content
Glama

veto_commit_message

Read-only

Generates a conventional commit message from staged git changes, including type, scope, subject, body, and optional context hints.

Instructions

Generates a conventional-commit message from staged changes (git diff --cached). Returns type, scope, subject, and body following the Conventional Commits specification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNoOptional extra context for the commit (ticket number, motivation, etc.).
project_dirYesAbsolute path to the git repository.
agent_responseNoPhase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop.
Behavior3/5

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

Annotations already declare readOnlyHint=true, which the description aligns with by stating 'generates' and 'returns'. Description adds context about using git diff --cached and following Conventional Commits, but no further behavioral details like failure modes or prerequisites.

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?

Single sentence that front-loads the purpose and clearly states input and output. No extraneous information.

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?

Explains return value (type, scope, subject, body) but lacks output schema. Does not mention that staged changes are required or that the tool may fail otherwise. The agent_response parameter usage is briefly described in schema but not in the main description.

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 description coverage is 100%, so the description does not need to add parameter details. The tool description does not elaborate on parameters beyond the schema, which is acceptable given full coverage.

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?

Clearly states it generates a conventional-commit message from staged changes. Distinguishes itself from siblings like veto_changelog or veto_pr_description by specifying the input (staged changes) and output format (type, scope, subject, body).

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?

Implied usage (when you have staged changes and need a commit message) but no explicit when-not-to-use or alternative tools. Lacks guidance on scenarios where it might be inappropriate.

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/jigyasudham/veto'

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