Skip to main content
Glama

Get Package Downloads

get_package_downloads
Read-onlyIdempotent

Fetch weekly and monthly download counts for ZK-Kit packages from npm or crates.io to measure popularity and adoption.

Instructions

Fetch download statistics for a ZK-Kit package from npm (TypeScript/Circom/Solidity) or crates.io (Rust). Shows weekly and monthly download counts as a measure of package popularity and adoption.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "get_package_downloads"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name (e.g., '@zk-kit/lean-imt', 'lean-imt')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, open-world behavior, so the bar is lower; the description adds genuinely useful behavior beyond them by disclosing which registries are consulted (npm for TypeScript/Circom/Solidity, crates.io for Rust) and what metrics come back (weekly and monthly counts). It does not say what happens when a package is missing or the name is ambiguous, which keeps it from a 5.

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 tight sentences with zero padding: the action and registries come first, and the return-value framing follows. 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?

For a one-parameter read tool with no output schema, the description is nearly complete – it names the data sources and the shape of the returned figures. The only gap is failure/edge-case behavior, which is minor for a simple stats lookup.

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% and the single 'name' parameter already carries an example format ('@zk-kit/lean-imt', 'lean-imt'), so the schema does the heavy lifting. The description adds only the implicit hint that the name maps to a registry based on language, but no syntax or scoping detail beyond that, making the baseline 3 correct.

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 ('Fetch') and resource ('download statistics') and names the two registries and language mappings, so an agent can tell this is the popularity-metrics tool rather than the changelog/readme/source siblings. It stops short of explicitly contrasting itself with any named sibling, so a 4 rather than 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 Guidelines3/5

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

Usage is only implied by the phrase 'as a measure of package popularity and adoption' – an agent can infer this is the right tool when assessing adoption, but the description gives no explicit when-to-use or when-not-to-use guidance against alternatives like get_repo_stats or get_ecosystem_overview.

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