Skip to main content
Glama
MCP Versioning Server

MCP Versioning Server

by torresgol10

get_package_versions_batch

Retrieve version lists for up to 50 packages across multiple ecosystems in one parallel batch request, simplifying dependency audits and version checks.

Instructions

Get all versions for multiple packages in parallel (batch operation). Efficient for checking many packages at once. Supports up to 50 packages per request.

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": {
      "packages": "<packages>"
    },
    "name": "get_package_versions_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesArray of packages to query

Output Schema

NameRequiredDescriptionDefault
totalYes
cachedNo
failedNo
resultsYes
successfulNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load; it does disclose that execution is parallel and that there is a hard cap of 50 packages per request. It does not address partial failures (e.g., one unknown package in a batch), ordering of returned versions, or error semantics, which matter for a fan-out operation.

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?

Three short sentences, front-loaded with the core action and followed by the efficiency rationale and the size limit. Minor redundancy in restating "batch operation" alongside "multiple packages" and "at once," but nothing wasteful.

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?

For a one-parameter read tool with an output schema, the essentials are covered. Gaps remain around batch failure behavior and result ordering, which an agent calling this with 50 packages would want to know, but they are secondary given the output schema defines the return shape.

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

Parameters4/5

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

Schema coverage is 100% so the parameter shape is already documented, but the description adds a real constraint not present in the schema: the 50-package maximum per request (the schema sets no maxItems). That is meaningful semantics beyond the structured field.

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?

"Get all versions for multiple packages" gives a specific verb (get), resource (package versions), and scope (multiple packages), which implicitly separates it from the single-package sibling. It never names get_package_versions explicitly, so the distinction rests on the word "multiple" rather than a direct contrast.

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?

"Efficient for checking many packages at once" implies the batch case is the intended use, but there is no explicit when-not guidance, no mention of when to prefer the single-package sibling, and no stated prerequisites such as valid ecosystem values.

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