Skip to main content
Glama

Highland Intel APIs

Semver resolver

semver
Read-only

Sorts versions by SemVer 2.0 precedence, returns the latest stable and pre-release, and the next major, minor and patch. Returns { sorted, latest_stable, latest, invalid, next: { major, minor, patch, from } } Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.

Input Schema

NameRequiredDescriptionDefault
versionsYesVersion strings, optionally v-prefixed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing billing ('1 credit per successful call'), the rejection-before-billing rule, and the full return key set. Missing only how 'invalid' entries are reported and what distinguishes 'latest' from 'latest_stable' vs the 'from' field.

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?

Two sentences, front-loaded with the core behavior; the return-shape and billing sentence carries information not available anywhere else. No filler or restatement of the title.

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?

With no output schema, the description rightly supplies the return keys, and the billing/rejection semantics close the main operational gap for a single-parameter tool. It stops short of defining the ambiguous fields ('latest' vs 'latest_stable', 'from', 'invalid'), which an agent still has to infer.

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% and already documents the single 'versions' array including the v-prefix allowance, so the description needn't repeat it. 'SemVer 2.0 precedence' adds real semantic grounding about what forms are accepted, but no detail on handling of build metadata or malformed strings.

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?

Names a specific verb+resource pair ('Sorts versions by SemVer 2.0 precedence') and enumerates exactly what is computed (latest stable, latest pre-release, next major/minor/patch). No sibling in the list does version resolution, so differentiation isn't needed and the definition is unambiguous.

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?

Usage is only implied by the operation described; there is no explicit statement of when to reach for this versus, say, json-validate or tool-schema for version-like strings, and no exclusions. Adequate because no sibling competes, but nothing guides the agent's decision.

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