Skip to main content
Glama

Check package and repo names

check_names
Read-only

Check if a package name is valid and free on npm, PyPI, or crates.io and if a GitHub repo name is available; if taken, return a free alternative, scoped npm first.

Instructions

Check that a package name is valid and free on the registry and that the GitHub repo name is free. When taken, returns the best free alternative (for npm, a scoped @user/name first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
registryNoPackage registry: npm, pypi (PyPI) or crates (crates.io).
repoNameNoGitHub repo name to check under your account.
packageNameNoPackage name to check on the registry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuine behavioral value by disclosing the fallback: when a name is taken it returns the best free alternative, preferring a scoped @user/name for npm. That is real context beyond the annotations, though return shape and rate/error behavior are still unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler, front-loading the core purpose (check validity and availability) and then the fallback behavior. Every clause earns its place.

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?

No output schema exists, so the description carries some return-value burden, and it partially does so by explaining the taken-name fallback. With 100% schema coverage and readOnly/openWorld annotations covering safety, this is nearly complete; only error/edge behavior is left implicit.

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 100%, with all three parameters (registry enum, repoName, packageName) documented in the schema itself. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (check) and two concrete resources (package name validity/availability on the registry, and GitHub repo name availability). An agent can distinguish this from inspect_package (which inspects existing packages) and create_github_repo. It does not explicitly name any sibling, so it stops short of a 5.

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?

The description explains what happens on the 'taken' case but never says when to reach for this tool (e.g. before publish_package or create_github_repo) or what alternatives exist. Usage is only weakly inferable from the tool name and context, with no explicit when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.