Skip to main content
Glama

SemVer Checker

dev_semver_checker

Parse a semantic version into major/minor/patch/prerelease, test it against a SemVer range (^, ~, >=, *) and compare two versions with the exact upgrade class (major/minor/patch/prerelease). Deterministic — no approximating precedence rules from memory. Use this when an agent needs to parse, compare and range-test versions. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeYesRange
versionYesVersion
compareToYesCompare to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that behavior is deterministic (no approximating precedence rules from memory) and that it is a paid tool (x402, $0.01/call, USDC, eip155:8453), which are real behavioral facts. However, it does not cover error handling for malformed versions or the exact response shape, leaving notable gaps.

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, followed by the usage cue and pricing. Three tight sentences with little waste; the pricing line is the only slightly appended element.

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 3-required-param tool with no output schema and no annotations, the description covers what is computed (parse fields, range test, upgrade class) and flags determinism, which is the key correctness concern. It stops short of documenting input format expectations or failure modes.

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 coverage is nominally 100%, but the schema descriptions are placeholder labels ('Version', 'Range', 'Compare to'). The description compensates somewhat by listing the accepted range operators (^, ~, >=, *) and the compare output (upgrade class), which adds meaning beyond the labels, but it never explicitly maps operations to individual parameters.

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?

The description names three specific operations with their outputs: parse a version into major/minor/patch/prerelease, range-test against SemVer operators, and compare two versions with the exact upgrade class. No sibling tool overlaps with this behavior, so an agent can identify it unambiguously.

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?

It gives an affirmative use condition ('Use this when an agent needs to parse, compare and range-test versions') but no when-not condition, no prerequisites, and no named alternative. Usage is implied rather than delimited.

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