Skip to main content
Glama
softerist
by softerist

e_check_package_version

Read-onlyIdempotent

Retrieve the latest version of a package from its official registry. Supports npm, PyPI, crates.io, and more by using a registry prefix like 'pip:'.

Instructions

Fetches the latest version of a package from its official registry. Supports npm, PyPI, crates.io, Maven, Go, RubyGems, NuGet, Packagist, Hex, pub.dev, Homebrew, and Conda. Use prefix like "pip:requests" for non-npm packages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesPackage name, optionally prefixed with registry (e.g., "lodash", "pip:requests", "cargo:serde", "go:github.com/gin-gonic/gin")
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true, indicating a safe, read-only, idempotent operation. The description adds behavioral context by stating it fetches from 'official registry' and listing supported registries. No contradictions exist.

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: first states purpose, second explains usage with registry list and example. No filler; every sentence is essential. Front-loaded with primary action.

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?

The tool is simple (one parameter, no output schema) and the description covers input semantics well. However, it does not describe the return value format (e.g., version string or object). For a tool that fetches version info, specifying the output structure would improve completeness.

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 coverage is 100% with one parameter, 'package', which already describes the prefix pattern. The description expands on this by listing all supported registries and providing multiple concrete examples, adding value beyond the schema by clarifying the range of acceptable prefixes.

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 clearly states it fetches the latest version of a package from an official registry. It lists 14 supported registries, making the resource and action unambiguous. Sibling tools are unrelated (e.g., semantic search, index codebase), so there is no confusion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description explains how to use prefixes for different registries with examples like 'pip:requests'. It implicitly covers when to use this tool (checking latest version from official registry) and provides context for correct invocation. However, it does not explicitly state when not to use it or mention alternatives, but the tool is distinct among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/softerist/heuristic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server