Skip to main content
Glama

Compare Package Matrix

compare_package_matrix
Read-onlyIdempotent

Compare up to 50 inventory items across 5 explicit native repository targets. Read-only; indexed-build CVEs only, no cross-distro ranking. Alternatives require source evidence and user confirmation before installation. Disabled servers reject the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
targetsYes
source_scopeNo
schema_versionYes

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 description reinforces the read-only annotation and adds useful behavioral details: indexed-build CVEs only, no cross-distro ranking, and disabled servers rejecting the call. These go beyond the basic annotations and help an agent anticipate outcomes and failure modes.

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 description is concise and front-loaded with the main purpose. Each sentence adds a distinct constraint or behavioral note, though the alternatives sentence is slightly cryptic and could be clearer without reducing length.

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 conveys the main action and key constraints, but because there is no output schema, it does not explain the result structure beyond the matrix implied by the tool name. An agent would need additional knowledge to know exactly what the comparison output looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions the items limit and the targets limit, which partially covers the 'items' and 'targets' parameters. However, 'source_scope' and 'schema_version' are not explained at all, and the schema itself provides no descriptions, so significant parameter meaning is left unexplained.

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 opens with a specific verb and resource: 'Compare up to 50 inventory items across 5 explicit native repository targets.' It clearly distinguishes the tool from siblings like compare_package_versions by emphasizing multi-item, multi-target comparison and the constraints 'indexed-build CVEs only' and 'no cross-distro ranking.'

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 description provides some contextual constraints, such as read-only operation and CVE scope, but does not explicitly name a sibling tool or state the precise conditions for choosing this tool over alternatives. The sentence about alternatives requiring source evidence and user confirmation is indirect and somewhat ambiguous.

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