Skip to main content
Glama

FMF Tools Dev Utils

code_semver

Semver parse / compare / range check ($0.001 per call, paid via MPP on Tempo). Parse versions, sort a list, test range satisfaction (npm ranges: ^, ~, x, ||, hyphen), find the max/min satisfying version, diff type (major/minor/patch) and coercion of loose strings like "v2.3". HTTP POST https://mpp-utils.fmf-x402.workers.dev/code/semver. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": "code_semver"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNo
compareNo[a, b]
versionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the whole burden and does well: it discloses per-call cost ($0.001), the payment rail (MPP on Tempo), the underlying HTTP endpoint, and crucially that the MCP wrapper does not settle payment by itself, requiring a Payment Authorization header or mppx. It omits what a successful or failed call returns and whether partial parse failures error or coerce, which keeps it below a 5.

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 operational purpose is front-loaded in a single dense clause, followed by one sentence on payment mechanics. Every sentence carries information, though the capability list and endpoint detail sit in one long run-on line rather than being separated for scanning.

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?

There is no output schema and no annotations, so the description should describe return shapes per operation (what 'parse' yields, whether sort returns an array, how diff type is reported). It instead covers only the invocation and payment path, leaving the agent unclear on results even though the request side is well explained.

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 only 33% – only 'compare' is documented (as [a, b]). The description partially compensates by explaining that 'range' accepts npm syntax (^, ~, x, ||, hyphen) and that 'versions' is a list to sort/scan, which is genuine added meaning. However, it never states which parameter drives which operation or what happens when multiple are supplied, so coverage of the three inputs remains incomplete.

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 pairing ('Semver parse / compare / range check') and then enumerates the concrete operations: parse versions, sort a list, range satisfaction, max/min satisfying version, diff type, and coercion. That is far more specific than the tool name alone and lets an agent tell instantly that this is a pure semver utility, distinct from siblings like code_jwt or code_url.

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 lists what operations are supported, which implies when the tool is useful, but it gives no explicit when-to-use/when-not guidance or comparison against alternatives. An agent must infer that this is for version-string work rather than, say, general numeric comparison, and there is no statement about inputs that fall outside semver.

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