Skip to main content
Glama

dev_next_version

Read-only

Next version from commits — Computes the next semantic version and a release changelog from Conventional Commits messages (semantic-release / release-please logic, offline). commits= one subject per line (newline-separated, or set sep=|); lines starting 'BREAKING CHANGE:' attach to the previous commit. current= the last released version (default 0.0.0). Rules: BREAKING CHANGE or type! = major, feat = minor, fix/perf/revert = patch, docs/chore/style/refactor/test/build/ci = no release. 0.x versions bump minor for breaking changes (zero_major=major to override). pre=rc|beta|alpha makes prereleases (2.0.0-rc.1 -> rc.2). all=1 adds non-release sections. Flags non-conventional messages with a suggested rewrite. Returns next, tag, bump, reasons, counts, breaking list and a Markdown changelog. Price: $0.002 USDC (Base, via x402).

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": {
      "commits": "<commits>",
      "current": "<current>"
    },
    "name": "dev_next_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
commitsYesfeat(api): add rerank endpoint fix: handle empty input chore: bump deps refactor!: drop node 16 BREAKING CHANGE: requires node 18+
currentYes1.4.2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnlyHint/destructiveHint=false annotations: it discloses the return payload (next, tag, bump, reasons, counts, breaking list, Markdown changelog), the diagnostic behavior of flagging non-conventional messages with a suggested rewrite, and the payment requirement ('$0.002 USDC (Base, via x402)'), which is critical pre-call context. 'Offline' clarifies no external registry lookup, which is compatible with the x402 payment step behind openWorldHint=true.

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?

Front-loaded with the core capability, then rules, then return shape and price — a logical order for a dense tool. It is a single long block with terse flag shorthand ('all=1', 'pre=rc|beta|alpha') that takes a second pass to parse, but little is genuinely wasted.

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?

For a deterministic computation tool with no output schema, the description supplies the versioning rules, the edge cases (0.x, prerelease counters), the diagnostic behavior, the full return field list, and the pricing model. The only real gap is the mismatch between named flags and the actual schema, which is a parameter-level defect rather than a missing-behavior one.

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?

The description adds genuinely useful meaning for commits (one subject per line, sep=| alternative, 'BREAKING CHANGE:' attaches to the previous commit) and for current (last released version). However, it advertises inputs the schema does not expose — sep, pre, zero_major, all — and calls current defaulted to 0.0.0 while the schema marks it required, so an agent following the prose could pass parameters that fail validation.

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?

Opens with a specific verb and resource — computes the next semantic version and a release changelog from Conventional Commits — and pins the algorithm ('semantic-release / release-please logic'). An agent can tell this apart from adjacent tools like ai_commit_message because the input/output direction is stated explicitly.

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 decision rules (BREAKING CHANGE or type! = major, feat = minor, fix/perf/revert = patch, docs/chore/style = no release) plus the 0.x special case and the zero_major override, which tells the agent when to invoke with which mode. It stops short of naming an alternative tool or an explicit 'do not use this when…' condition.

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.

Resources