Skip to main content
Glama

Crypto & Web Data API for Agents

PyPI package metadata and vulnerabilities

security_pypi
Read-only

PyPI package metadata and vulnerabilities. Latest version, summary, license, author, project URLs, release date and known vulnerabilities of a PyPI package. Price $0.020 per call (x402: USDC on Base or Solana).

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": "security_pypi"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
nameYesPyPI package name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the description is not burdened with stating basic safety. It adds meaningful behavior by disclosing the $0.020 per-call price and the x402 USDC payment path, and by listing the returned data fields. It does not describe error behavior, rate limits, or how vulnerability coverage is scoped.

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?

The definition is short and front-loads the tool's domain and outputs. The first sentence largely duplicates the title and the second sentence's opening purpose, which is minor redundancy rather than a structural problem.

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 simple two-parameter read-only lookup with fully documented schema and no output schema, the description is nearly complete: it names the returned fields and the payment model. The main missing piece is routing guidance versus related vulnerability tools, which is a modest gap given the low complexity.

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 coverage is 100%, so both parameters are documented in the schema and the baseline is 3. The description only implies that the package name is required and says nothing that clarifies the optional tx parameter or when it should be used.

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 clearly identifies the tool as retrieving PyPI package metadata and vulnerabilities, and it enumerates the specific fields returned. The PyPI ecosystem reference distinguishes it from siblings such as security_npm and security_crate, though it lacks an explicit verb like 'get' or 'list'.

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 'of a PyPI package', which suggests this is the tool for PyPI lookups rather than npm or crates. There is no explicit when-to-use guidance, no when-not guidance, and no named alternatives such as security_osv or security_cve.

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