Skip to main content
Glama

Release notes draft

release_notes_draft
Read-onlyIdempotent

Groups git commits between two refs by conventional-commit type and returns structured sections plus a Markdown draft for release notes.

Instructions

Group commits between two refs by conventional-commit type (breaking changes, features, fixes, ...) and return both structured sections and a Markdown draft. "from" defaults to the latest tag before "to"; without any tag, all commits up to "to" are used. To draft notes for an existing release, pass its tag as "to" (see list_tags).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd ref, inclusive.HEAD
fromNoStart ref, exclusive (tag, branch or commit).
repoNoRepository name or absolute path from the allowlist. Defaults to the first configured repo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
fromYesStart ref (exclusive); null means from the first commit.
repoYesName of the repository that was queried.
markdownYes
sectionsYes
truncatedYes
commitCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description adds genuinely new behavioral context: the resolution rule for 'from' (latest tag before 'to', or all commits up to 'to' when no tag exists) and the dual structured/Markdown return shape.

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?

Three sentences, front-loaded with the core action and outputs, then defaults, then the tag workflow. Each sentence carries distinct information with no padding.

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

Completeness5/5

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

An output schema exists, so return values need not be fully spelled out, yet the description still characterizes them. With defaults, tag resolution, and the list_tags cross-reference covered, an agent has everything needed to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by explaining the derived default of 'from' and the tag-based selection for 'to', which the schema's terse 'Start ref, exclusive' does not convey.

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 and resource: groups commits between two refs by conventional-commit type and returns structured sections plus a Markdown draft. This is clearly distinguishable from siblings like compare_refs or commit_search, which do not produce grouped release notes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete context for the common case ('to draft notes for an existing release, pass its tag as "to"') and cross-references list_tags for finding that tag. It does not explicitly say when NOT to use it (e.g., versus compare_refs), so it stops short of full alternative routing.

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