Skip to main content
Glama

Npm Package Stats

npm_package_stats
Read-onlyIdempotent

Request counts + bandwidth for an npm package served via JSDelivr.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoday | week | month | quarter | year | s-month | s-quarter | s-year (default month)
package_nameYesnpm package name (scoped allowed)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description adds the JSDelivr context but does not disclose any additional behavioral traits such as rate limits, response aggregation, or data freshness. It provides minimal behavioral insight beyond the resource scope.

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?

The description is a single, front-loaded sentence with no wasted words. It conveys the core purpose immediately and is appropriately sized for a simple tool.

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?

Given the simple tool with full schema coverage, rich annotations, and an output schema, the description is mostly complete. However, it lacks any mention of usage context or alternatives, which slightly reduces completeness. Still, the core purpose is clear.

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?

The input schema fully describes both parameters with descriptions covering 100% of the properties, including allowed period values and default. The tool description adds no additional parameter semantics beyond what the schema provides, so baseline 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?

The description clearly states the tool returns request counts and bandwidth for an npm package via JSDelivr, using a specific verb ('Request counts') and resource. It distinguishes from sibling tools like list_npm_files or list_npm_versions by focusing on usage metrics.

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 such as top_npm_packages or list_npm_versions. It simply states what it does without any explicit usage context or exclusions.

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.