Skip to main content
Glama

npmTrends

Download trends & popularity

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoPeriod
packagesYesPackage names array
ignoreCacheNoBypass cache

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only says 'Download trends & popularity' without clarifying what 'download' entails (e.g., output format, network requests, caching behavior, or whether it's a safe read operation). This is a significant omission.

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

Conciseness2/5

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

The description is very short (four words), but this is under-specification rather than effective conciseness. It lacks substance needed for the agent to understand the tool's scope, making it less useful without further detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the npm ecosystem and many sibling tools, the description is incomplete. It doesn't explain what 'trends' data looks like, what output to expect, or how it relates to other npm tools. No output schema exists, so the description should compensate but doesn't.

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?

All three parameters have descriptions in the schema ('Period', 'Package names array', 'Bypass cache') with 100% coverage. The description adds no additional parameter context, but the baseline of 3 is appropriate since the schema itself is sufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Download trends & popularity' identifies a verb and resource, but it is vague about what exactly 'trends' refers to (e.g., download counts over time?) and doesn't distinguish this tool from sibling tools like npmScore or npmVersions. It conveys a general purpose but lacks specificity.

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?

No usage guidance is provided. The description doesn't explain when to use npmTrends instead of alternatives like npmCompare, npmSearch, or npmScore, nor does it state any prerequisites or limitations.

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.

Resources