Skip to main content
Glama
hlteoh37

mcp-devutils

by hlteoh37

semver_compare

Compare two semantic versions to see which is newer, or check if a version satisfies a semver range.

Instructions

[PRO — 3 trial uses left] Compare two semantic versions or check if a version satisfies a range

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
version1YesFirst version (e.g. '1.2.3')
version2YesSecond version to compare against (e.g. '1.3.0')
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It only states the high-level action and fails to disclose return format, error handling, or the semantics of the 'satisfies a range' mode relative to the two parameters. The trial-use prefix is a business constraint, not a tool behavior.

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?

The core description is a single clear sentence, but it is prefixed by '[PRO — 3 trial uses left]', which is non-functional metadata that distracts from the tool's purpose. The sentence itself is succinct and front-loads the verb after the prefix.

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 no output schema, the description should explain what the tool returns (e.g., boolean, comparison code) and clarify how the 'range' mode maps to the two parameters, especially since the schema describes version2 as a simple version. These gaps leave the description incomplete for a tool with two modes.

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?

The input schema already documents both parameters with examples (coverage 100%), so the baseline is 3. The description adds the concept of checking a version against a range, which is not present in the schema descriptions, providing extra semantic meaning about the second parameter's possible role.

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 clearly states the action ('Compare' and 'check if') applied to semantic versions and ranges, which distinguishes it from the sibling utility tools. It names the exact resource type (semantic versions) and the two supported operations.

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?

The description implies usage for comparing semantic versions or range checks, but it does not explicitly state when to choose this tool over alternatives, nor does it provide exclusions or mention related tools for version operations. There are no explicit 'use this when' or 'for X use' statements.

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/hlteoh37/mcp-devutils'

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