Skip to main content
Glama

mechacut

pkg_name

Package-name grammar verdict + normalization for npm (case/dot/charset), PyPI (PEP 503) and Docker (repo/tag/digest). Agents invent uppercase npm names and dotted tags; the registry will reject them — here they get told why, before the push. 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": {
      "name": "<name>"
    },
    "name": "pkg_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNonpm
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful traits: the tool returns a verdict with a reason, it also normalizes the name, and it is side-effect-free enough to be 'Free'. It does not describe the return structure, whether normalization is always applied or only suggested, or per-ecosystem differences in what counts as valid.

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?

Three tight sentences, front-loaded with the scope and followed by the motivating scenario. The trailing 'Free' is promotional filler, but the rest earns its space by packing the ecosystem list and the failure mode into minimal text.

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 two-parameter, no-output-schema tool this is nearly sufficient: it conveys input scope, the pre-publish use case, and the shape of the result (verdict plus normalized form plus reason). The remaining gap is that without an output schema, the description should be more explicit about what fields come back for each ecosystem.

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 0% for two parameters, so the description must compensate. It names the three ecosystems that map onto the `kind` enum, which is genuinely helpful, but never states that `kind` selects the grammar, never mentions the npm default, and adds nothing about the `name` parameter beyond the obvious.

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 the concrete operation (grammar verdict plus normalization) and the exact scope (npm, PyPI PEP 503, Docker repo/tag/digest), which is specific enough to separate it from generic validators like check_format. It stops short of a clean verb-first statement, wrapping the purpose in marketing framing, but an agent can still identify the resource and action.

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 phrase 'before the push' gives an implied trigger: call this prior to publishing so the registry does not reject the name. There is no explicit when-not guidance, no named alternative among the many check_* siblings, and no statement that this is purely a naming-grammar check rather than a broader format validator.

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.