Skip to main content
Glama

Crypto, web, finance and app data tools

PyPI Package Info

pypi_package

A Python package on PyPI: latest version, summary, license, required Python, dependencies, release date, project links and daily/weekly/monthly downloads. Use to choose or audit a Python dependency.

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": {
      "package": "<package>"
    },
    "name": "pypi_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses what data is returned and implies a read-only lookup, but says nothing about behavior for nonexistent/misspelled package names, rate limits, or caching. For a low-risk lookup tool this is adequate but not rich.

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 sentences, front-loaded with the returned-field list, then the usage hint. Tight and readable. The leading 'A Python package on PyPI:' is slightly noun-phrase-like rather than verb-led, but nothing is wasted.

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?

Output schema exists, so return values need not be spelled out, and the description still enumerates them, which is helpful. With one required param and a read-only lookup, the definition covers enough to call the tool correctly; only error/edge-case behavior is missing.

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 single 'package' parameter is undocumented in the schema. The description implies a PyPI package identifier ('A Python package on PyPI'), but does not specify format or normalization, e.g. exact name, case sensitivity, or extras/version specifiers. It partially compensates but leaves ambiguity.

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?

The description names the specific resource (a PyPI package) and enumerates exactly which facts are returned: latest version, summary, license, required Python, dependencies, release date, links and download counts. That makes it clearly distinguishable from npm_package or rust_crate by ecosystem. It lacks an explicit verb ('fetch/get'), but the resource and scope are precise.

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?

The sentence 'Use to choose or audit a Python dependency' gives a real usage context, which is more than nothing. It does not, however, name alternatives or exclusions: it never says to use package_vulnerabilities for security auditing, or npm_package/rust_crate for other ecosystems, so the agent must infer routing.

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