Skip to main content
Glama

ScorpTech x402 Tools

Semver

semver
Read-onlyIdempotent

Semantic versioning toolkit with npm (node-semver) semantics: validate and parse a version, compare two versions, test a range (^, ~, x-ranges, hyphen ranges, || unions, prerelease rules) and show its comparator form, sort a list and pick the max/min version satisfying a range, and bump (major, minor, patch, pre*, prerelease with an identifier). Returns JSON with: version, range, versions, bump. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/semver

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "semver"
  }
}

Input Schema

NameRequiredDescriptionDefault
bumpNoIncrement version
preidNoPrerelease identifier for pre* bumps (e.g. beta, rc)
rangeNonpm range, e.g. ^1.2.3, >=1.0 <2, 1.x || 2.1 - 2.4
versionNoA version to parse / test / bump
versionsNoVersions to sort / filter by range
compareToNoSecond version for comparison
includePrereleaseNoLet prerelease versions satisfy ranges without a matching prerelease tuple

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds genuinely new behavioral context: npm/node-semver conformity including prerelease rules, the cost of $0.001 USDC per successful call via x402 on Base or Solana, and an equivalent HTTPS endpoint — the payment requirement is material and not in any structured field.

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?

A single dense paragraph that is front-loaded with purpose and operation list, then return shape, then cost and endpoint. Every clause carries information, though the run-on structure and the URL/pricing tail make it harder to scan than a bulleted layout would.

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 states the returned keys (version, range, versions, bump) and covers prerelease semantics and payment. It stops short of saying which keys appear for which operation or how errors/failed comparisons are surfaced, a minor gap for a seven-parameter multi-mode tool.

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?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond by tying operations to parameter roles (range forms such as ^, ~, x-ranges, hyphen ranges and || unions; bump levels major/minor/patch/pre*/prerelease with an identifier). It does not explain the interaction of includePrerelease or the empty-required-set behavior, so it is not exhaustive.

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 opens with a specific verb+resource ('Semantic versioning toolkit with npm (node-semver) semantics') and then enumerates the concrete operations: validate/parse, compare, test a range and show comparators, sort and pick max/min, and bump. This is unambiguous and clearly distinguishes it from the numeric/math siblings listed.

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?

Each named operation implicitly maps to a parameter combination (compare via version+compareTo, sort/filter via versions, bump via bump+preid), which gives an agent enough to choose the right call. It does not state when NOT to use it or name alternatives, but no sibling appears to overlap in behavior.

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