Skip to main content
Glama

mechacut

semver_parse

Parse a semantic version with the OFFICIAL semver .org grammar: major/minor/patch, prerelease identifiers, build metadata, stability verdict. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "version": "<version>"
    },
    "name": "semver_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses what the parser surfaces (prerelease, build metadata, stability verdict) and that the grammar is strict/official, but it never states what happens on an invalid version (error vs. null), whether a leading 'v' is tolerated, or what the response shape is.

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?

It is a single front-loaded sentence that states the operation, the grammar, and the components returned. The trailing 'Free' is promotional filler rather than functional information, a minor blemish on otherwise efficient phrasing.

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?

For a one-parameter pure function with no output schema, the description is nearly sufficient: it identifies the grammar and lists the parsed components. The remaining gap is failure behavior on malformed input, which matters for an agent deciding whether to pre-validate.

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?

With a single parameter and 0% schema description coverage, the description does compensate somewhat by tying the input to the official semver.org grammar, which constrains the expected format. However, it gives no detail on edge cases such as leading 'v' prefixes or loose versus strict parsing, so the format contract remains partly implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (parse) and resource (semantic version) and enumerates the components it handles: major/minor/patch, prerelease identifiers, build metadata. It does not explicitly contrast with the sibling semver_sort, so an agent must infer the difference, but the core operation 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. The presence of a sibling semver_sort makes a routing hint valuable, yet the definition never says to use this for validation/parsing versus ordering. The only contextual cue is 'Free', which speaks to cost rather than selection.

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.