Skip to main content
Glama

devresources__pypi_package_lookup

Look up a Python package on PyPI by exact name, e.g. query "requests": version, author and summary. Source: PyPI. License: Public registry metadata — free use with attribution (search results link back to the source) (PyPI).

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": {
      "query": "<query>"
    },
    "name": "devresources__pypi_package_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

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 supplied, so the description carries the full behavioral burden. It does disclose provenance and licensing ('Public registry metadata — free use with attribution', results link back to source), which is useful context an agent would not otherwise know, but it says nothing about failure behavior for unknown packages, rate limits, or whether the response is a single record or a list.

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 core sentence is front-loaded and efficient: verb, resource, matching rule, example, and return fields in one line. The trailing 'Source/License' boilerplate is auto-appended text that partially repeats itself ('(PyPI)' twice) and is not strictly needed to invoke the tool.

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 lookup with fully documented schema and no output schema, the description covers purpose, input form, and expected return fields adequately. The only real gap is that it never reconciles 'exact name' lookup with the 'limit' parameter, leaving the agent unsure whether multiple matches can come back.

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 already documented, and the baseline is 3. The description adds the meaningful constraint that 'query' is an exact package name, but it creates a mild tension by pairing that with a 'limit' parameter of up to 20 results, which hints at multi-result behavior that the description never explains.

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 ('Look up a Python package on PyPI') and constrains the lookup to an 'exact name', with a concrete example ('requests') and the returned fields (version, author, summary). It implicitly separates itself from the npm/nuget/crates siblings by naming the PyPI registry, though it never explicitly says 'for non-Python packages use the other registry tools'.

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 phrase 'by exact name' is a real usage constraint that tells the agent not to expect fuzzy/keyword matching, and the example clarifies input form. However, there is no guidance on when to prefer this over a sibling registry search, no note on what happens for misspelled or unlisted packages, and no exclusions.

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.