Skip to main content
Glama

Delimit Semver

delimit_semver
Read-onlyIdempotent

Determine the semver bump (MAJOR/MINOR/PATCH/NONE) from API spec changes, and optionally compute the next version string. Use it when you need a deterministic release-version decision before merging a spec change.

Instructions

Classify a spec change's semver bump (MAJOR/MINOR/PATCH/NONE).

When to use: to deterministically pick the version bump for an API spec change, optionally computing the next version string. When NOT to use: for full lint with policy (use delimit_lint) or a plain change list (delimit_diff).

Sibling contrast: delimit_diff lists changes; delimit_lint adds policy; this maps the diff to a semver verdict only.

Side effects: read-only. Calls backends.gateway_core.run_semver (deterministic classification on top of the diff engine output).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
new_specYesPath to the proposed OpenAPI spec file. Required.
old_specYesPath to the baseline OpenAPI spec file. Required.
current_versionNoOptional version string (e.g. "1.2.3") to compute the next version. Default None = no next computed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv4.7.9
    • changedInput schema / properties / current_version / description
      Previous value: -"Optional current version (e.g. \"1.2.3\") to compute next version."New value: +"Optional version string (e.g. \"1.2.3\") to compute the next version. Default None = no next computed."
    • changedInput schema / properties / new_spec / description
      Previous value: -"Path to the new OpenAPI spec file."New value: +"Path to the proposed OpenAPI spec file. Required."
    • changedInput schema / properties / old_spec / description
      Previous value: -"Path to the old OpenAPI spec file."New value: +"Path to the baseline OpenAPI spec file. Required."
  2. Changed3 schema fields changedv4.5.5
    • addedInput schema / properties / current_version / description
      Added value: +"Optional current version (e.g. \"1.2.3\") to compute next version."
    • addedInput schema / properties / new_spec / description
      Added value: +"Path to the new OpenAPI spec file."
    • addedInput schema / properties / old_spec / description
      Added value: +"Path to the old OpenAPI spec file."
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive behavior, and the description reinforces this with 'Side effects: read-only' while adding new context: it calls backends.gateway_core.run_semver and is deterministic on top of the diff engine output. This goes beyond the annotation metadata without contradicting it.

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?

Every section earns its place: core purpose, usage guidance, sibling contrast, and side effects are all compact and front-loaded. The use of short headings makes it easy to scan without any padding or repetition.

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 tool with full parameter documentation and an output schema, the description covers all selection-relevant context: what it returns, when to use it, when not to, how it relates to siblings, and side-effect behavior. Nothing an agent needs to pick or invoke this tool correctly is missing.

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 old_spec/new_spec as required paths and current_version as optional. The description's mention of 'optionally computing the next version string' mirrors the schema and adds no new parameter-level detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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-resource pair—'Classify a spec change's semver bump'—and names the exact output enum (MAJOR/MINOR/PATCH/NONE), so an agent knows exactly what the tool produces. It also explicitly contrasts itself with delimit_diff and delimit_lint, making sibling differentiation clear.

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

Usage Guidelines5/5

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

Has explicit 'When to use' and 'When NOT to use' sections that name delimit_lint and delimit_diff as alternatives. The sibling contrast line further clarifies the boundary: this maps a diff to a semver verdict only, while siblings list changes or add policy.

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/delimit-ai/delimit-mcp-server'

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