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). Price: $0.001 USDC per successful call (x402, 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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true. The description adds important behavioral context beyond annotations: a per-call price of $0.001 USDC via x402 on Solana and an equivalent HTTPS endpoint. It does not mention rate limits or return behavior, but the added payment and network details are valuable.

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 description is a dense but front-loaded sentence that enumerates supported operations before appending cost and endpoint details. Every clause is informative and there is little waste, though the long single-sentence form is slightly less scannable than a short bulleted list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, multi-operation tool with no output schema, the description adequately covers operation types and cost but does not describe what each operation returns. An agent knows what it can do but not the shape of the response for parse, compare, range test, sort, or bump.

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 description coverage is 100%, so the schema already documents each parameter well. The description adds semantic grouping by mapping parameters to operations: version and compareTo for comparison, range for testing/comparator form, versions for sorting/filtering, and bump/preid for incrementing. This helps an agent understand which parameters combine for which use case, though it does not explain every parameter interaction.

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 states a specific verb and resource for each operation: validate/parse, compare, test range, sort/filter, and bump. It grounds everything in npm (node-semver) semantics, making the tool's purpose unambiguous and easily distinguishable from the math-oriented siblings.

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 lists the operations the toolkit supports, which implies when an agent would use it. However, it provides no explicit when-to-use versus when-not-to-use guidance or alternatives, leaving selection to inference.

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