Skip to main content
Glama

draft

Generate commit messages, PR descriptions, changelog and release notes from the current diff using a low-cost review lane, so you can document changes quickly.

Instructions

Draft commit messages, PR descriptions, changelog notes, or release notes from the current diff using the cheap review lane.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
kindNo
max_tokensNo
max_diff_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the input source (current diff) and implies a lower-cost model lane, which is useful, but it never says whether drafting writes anything to disk or the repository, how large diffs are handled, or what the result looks like. For a generation tool with zero annotation coverage, that is a substantial gap.

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?

It is a single front-loaded sentence with no filler, which is well structured. The only cost is the unexplained internal term 'cheap review lane', which occupies space without clarifying behavior.

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 four undocumented parameters, no annotations, and no output schema, the definition should explain what is produced and whether any repository state changes. Instead it stops at naming output formats, leaving the agent unable to predict the result or set parameters correctly.

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% across four parameters, and the description never names them. The list of artifact types loosely implies the 'kind' selector and 'from the current diff' loosely implies 'max_diff_bytes', but 'cwd' and 'max_tokens' get no explanation at all, so an agent cannot confidently set any of them.

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 gives a concrete verb ('draft') plus a specific set of artifacts (commit messages, PR descriptions, changelog notes, release notes) and names the input source ('the current diff'). That is far more informative than the bare name 'draft', though 'cheap review lane' is internal jargon that does little to differentiate this from the sibling 'review' tool.

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?

There is no statement of when to use this versus alternatives such as 'review' or 'analyze', and no exclusions or prerequisites. The only usage signal is the phrase 'cheap review lane', which hints at a cost/quality tradeoff but is never explained, leaving an agent to guess when this is preferred over the full review path.

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