Skip to main content
Glama

pypi_get_package

Read-onlyIdempotent

Retrieve metadata for a Python package from PyPI by package name, enabling dependency checks and package information lookup.

Instructions

Get metadata for a Python package from PyPI.

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered without the description. The description adds no behavioral context of its own — nothing about what happens for nonexistent or misspelled packages, rate limits, or the shape/size of the returned metadata.

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?

A single front-loaded sentence with no filler; every word earns its place.

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

Completeness3/5

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

This is a simple single-parameter read with full schema coverage and complete annotations, so the basics are covered. But with no output schema, the definition never indicates what 'metadata' includes, leaving the agent unable to predict the response.

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?

One parameter with 100% schema description coverage means the schema already tells the agent it takes a package name. The description reinforces that the name refers to a Python package on PyPI but adds no semantics such as case normalization, exact-match requirements, or how to handle version-pinned names.

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 (get) and resource (metadata for a Python package) plus the source (PyPI), which is clear on its own. However, it does not differentiate from the closely named sibling pypi_get_version, so an agent must infer the boundary.

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?

There is no when-to-use guidance, no mention of the pypi_get_version sibling, and no statement about whether to use npm_get_package for Node packages. The agent gets a purpose statement but no routing logic.

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

Deploy Server

Other Tools