Skip to main content
Glama

lookup

Look up a package by name and (optionally) version number to find which versions are available and/or have vulnerabilities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe package name to look up (e.g., "requests", "numpy>=2.0", "flask==3.0.0"). Note that when an exact "==" version is specified, the `limit` and `retain_passing` parameters have no effect.
limitNoWhen the name is not an exact version, limit the number of recent versions to check.
cvss_filterNoCVSS score filter: "all" to show all vulnerabilities, "max" to show only the maximum observed score, or a number (0.0-10.0) to filter by threshold
retain_passingNo'When the name is not an exact version, setting this to True will return refernces for all packages, include those with no vulnerabilities (default: false)

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It mentions the basic lookup functionality but omits any side-effect information (though a lookup is likely read-only), default behavior, or handling of edge cases. The note about exact versions is in the schema but not in the description, so the description alone is under-informative.

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?

The description is a single, direct sentence with no redundant words or filler. It clearly conveys the core purpose without unnecessary detail, earning top marks for conciseness and structure.

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?

The description is adequate for a simple lookup but leaves gaps: it doesn't specify the return format (no output schema), the exact semantics of 'and/or', or how the tool behaves with exact version constraints. Given the tool's moderate complexity (4 parameters) and the presence of siblings, a bit more context would be helpful.

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 100%, so the baseline is 3. The description itself does not add parameter-level detail beyond the schema. The schema already provides rich descriptions for name, limit, cvss_filter, and retain_passing, so the tool's description need not repeat them.

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 ('look up') and resource ('a package by name and optionally version'), and clearly states the outcome: finding available versions and/or vulnerabilities. This distinguishes it from sibling tools like is_vulnerable and most_recent_not_vulnerable, which are more targeted.

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?

The description gives no guidance on when to use this tool versus the sibling tools (is_vulnerable, most_recent_not_vulnerable). It does not mention any prerequisites, exclusions, or alternative tools, leaving the agent to infer the appropriate context.

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.

TDQS

A3.7/5.0
Disambiguation4/5

is_vulnerable and lookup both deal with vulnerability status, but is_vulnerable is a direct check for a single exact version while lookup is for browsing package versions and their vulnerabilities. This slight overlap could cause minor confusion, but their distinct scope keeps them separable.

Naming Consistency3/5

The three tool names use snake_case but follow inconsistent naming patterns: is_vulnerable is a predicate, lookup is an imperative verb, and most_recent_not_vulnerable is a descriptive phrase. This mix is readable but lacks a uniform convention.

Tool Count5/5

Three tools is ideal for a narrow domain like package vulnerability checking, providing essential operations without bloat.

Completeness5/5

The set covers the core workflows: checking a specific version, exploring version availability and vulnerabilities, and finding the latest safe version. No obvious gaps exist for this domain.