Skip to main content
Glama

Compare Packages

compare_packages
Read-onlyIdempotent

Compare two or more ZK-Kit packages side by side to view languages, categories, install commands, and cross-language variants.

Instructions

Side-by-side comparison of two or more ZK-Kit packages. Shows language, category, description, install commands, and cross-language variants.

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": {
      "names": "<names>"
    },
    "name": "compare_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYesPackage names to compare (at least 2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so safety is covered. The description adds genuine value beyond that by enumerating the returned fields (language, category, description, install commands, cross-language variants), which matters since there is no output schema. It does not cover edge behavior such as unknown package names or result ordering.

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 tightly written sentences with the core action front-loaded and the returned fields following. No filler, no repetition of the tool name beyond what is needed.

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, single-parameter read-only tool with full annotation coverage, the description supplies the action, the input cardinality, and the output content. Only minor gaps remain (behavior on invalid names, ordering of results), which is acceptable at this 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 description coverage is 100% and the single parameter is already documented in the schema as 'Package names to compare (at least 2)'. The description's 'two or more' echoes the minItems=2 constraint but adds no new semantics about format, casing, or maximum count. Baseline 3 applies when the schema does the work.

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 names a specific verb+resource combination ('Side-by-side comparison of two or more ZK-Kit packages') and lists exactly what is compared. It is clearly distinct from data-fetching siblings like get_package_readme or list_packages, though it never names an alternative explicitly.

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 implied by the phrase 'side-by-side comparison of two or more' packages, which tells the agent this is a multi-package operation. There is no explicit when-to-use/when-not guidance, no mention of when to prefer individual get_package_* calls instead, and no stated prerequisites (e.g., names must exist).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.