Skip to main content
Glama

check_package_safety

Check whether an npm or PyPI package is safe to install. Costs $0.005 USDC via x402 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact package name to check for safety before installing
ecosystemYesPackage ecosystem to check

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It mentions the cost mechanism, which is valuable, but does not disclose what happens when a package is unsafe (e.g., return type, possible errors) or any side effects. The core behavior is stated, but depth is lacking.

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 description is a single sentence with 18 words, highly concise. It front-loads the core purpose and adds the cost detail efficiently. However, it could benefit from slight restructuring for clarity (e.g., separating cost info).

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?

Given the tool's simplicity (2 parameters, no output schema, no siblings), the description covers the essential purpose and cost but fails to describe the return value or possible outputs. With no output schema, the agent would benefit from knowing the response format. The description is functionally complete for a basic check but leaves an important gap.

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%: both 'name' and 'ecosystem' have descriptions. The tool description only adds cost context, not parameter details, so it does not meaningfully augment the schema. Baseline score of 3 is appropriate.

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?

Description states exactly what the tool does: 'Check whether an npm or PyPI package is safe to install.' The verb 'check' and resource 'package safety' are specific, and the ecosystems npm and PyPI are clearly mentioned. No siblings exist, so differentiation is not needed.

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 provides no guidance on when to use this tool versus alternatives or when not to use it. It only mentions a cost of $0.005 USDC via x402 per call, which is a constraint but not usage context.

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.

TDQS

A3.7/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. The single tool's purpose is clear and distinct.

Naming Consistency5/5

With only one tool, naming consistency is trivially maintained. The tool name follows a clear verb_noun pattern and is descriptive.

Tool Count3/5

A single tool is borderline for the server's purpose. While it may be sufficient for a very narrow focus, it feels thin compared to typical MCP servers.

Completeness4/5

The tool covers the core functionality of checking package safety for npm and PyPI. Minor gaps exist (e.g., no support for other ecosystems or additional actions), but agents can work with what's provided.

Resources