Skip to main content
Glama

Machinepulse

Get Pypi Trends

get_pypi_trends

Fetch daily download counts for a PyPI package — up to 100 days, with total, latest day and average over days that have data; days without collection are null with a note. Use when the user asks how a PyPI package is growing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
packageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavioral traits: a hard 100-day cap, null values for days without collection, and an accompanying note. It omits auth/rate-limit behavior, but for a read-only trend fetch that is a minor gap.

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?

Two tight clauses lead with what is fetched, then the qualifying behavior, then the when-to-use trigger. The return-shape detail (total/latest/average) is mildly redundant given an output schema exists, but nothing is padded.

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 two-parameter read tool with an output schema covering the return payload, the description is nearly sufficient: it covers scope, cap, and null-day semantics. The missing piece is disambiguation from the sibling trend and comparison tools.

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 0%, so the description must compensate. It usefully reveals the upper bound implied by 'up to 100 days', but never states the days default of 30 or what form the package identifier should take, leaving both parameters partly undocumented.

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 and resource: fetch daily download counts for a PyPI package. The 'PyPI' qualifier implicitly separates it from get_npm_trends, but the description never names a sibling, so the agent must infer the boundary itself.

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?

Explicit trigger given: 'Use when the user asks how a PyPI package is growing.' No when-not guidance and no mention of the obvious alternatives (get_npm_trends for other registries, get_package_comparison for multi-package questions), which is the clear context / no exclusions pattern.

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