Skip to main content
Glama

check_package

Check a PyPI package against StillRunning's known-malicious database before installing. Returns BLOCKED, SUSPICIOUS or UNKNOWN — never a clean bill of health.

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_name": "<package_name>"
    },
    "name": "check_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoOptional version to check
package_nameYesThe package name to check

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 behavioral burden and does unusually well: it enumerates the return states and explicitly warns that UNKNOWN is "never a clean bill of health," preventing a false safety inference. It does not disclose latency, network dependency, rate limits, or that the call is a non-mutating lookup, which keeps it below a 5.

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?

Two short sentences, front-loaded with the action and the data source, then the return semantics. Every clause contributes; nothing is redundant or padded.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming all three possible verdicts and cautioning on the weakest one. For a two-parameter lookup whose safety profile is self-evident, nothing an agent needs in order to call or interpret it 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 coverage is 100%, so both parameters are already documented in the input schema. The description adds no further meaning about what the optional version parameter changes or how it affects the verdict, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Check") on a specific resource ("a PyPI package") against a named data source ("StillRunning's known-malicious database"). It also states the pre-install use moment, so an agent knows exactly what the tool does without reading the schema.

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?

The phrase "before installing" gives clear situational guidance on when to reach for this tool. There are no sibling tools to disambiguate against and no explicit case where the tool should not be used, which keeps it just short of a 5.

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