Skip to main content
Glama

Git 提交信息生成(按次计费)

commitmsg

粘贴 diff → Conventional Commits 中英双语提交信息 + 风险提示。按次计费:业务成功才确认扣款,内容违规、模型超时或生成失败会自动全额退款。

Input Schema

NameRequiredDescriptionDefault
diffYesgit diff 或变更描述,最多 12000 字符。
styleNoconventional=规范提交 / plain=简洁一句话 / detailed=详细变更说明。conventional
contextNo可选:变更背景(需求单/bug 单号等)。
requestIdNo幂等键。同一次业务重试时复用同一个值,可避免重复扣费。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses important billing behavior: per-use charge, confirmation only on success, and automatic full refund on content violation, model timeout, or generation failure. It does not mention authentication, rate limits, or output format details, but the billing and failure semantics are a strong addition.

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?

Two short sentences with no wasted words. The primary function is front-loaded, followed by critical billing context. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a clear schema and no output schema, the description covers purpose, output expectations, and billing behavior. It could be slightly more complete by explaining what 'risk hints' entail or the expected structure of the bilingual message, but it is sufficient for an agent to call correctly.

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 schema already documents all parameters including the style enum and idempotency key. The description adds no parameter-specific information beyond what is in the schema, so the baseline of 3 is appropriate.

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?

States a specific verb (generate) and resource (Conventional Commits commit message) with clear input (paste diff) and output (bilingual message + risk hints). This distinguishes it from sibling tools like translate or codegen, which don't focus on Git commit messages.

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 usage by specifying 'paste diff,' but does not explicitly state when to use this tool versus alternatives (e.g., translate or codegen) or when not to use it. No exclusions or alternative routing are provided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.