Skip to main content
Glama

List Versions

list_versions
Read-onlyIdempotent

All published versions of a package.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPackage id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionsNoArray of semantic version strings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "Newtonsoft.Json"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "List of all published versions for a package",
      +  "properties": {
      +    "versions": {
      +      "description": "Array of semantic version strings",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds no additional behavioral context beyond stating the result is a list of versions. It does not contradict the annotations, but also does not enhance them.

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 extremely concise (4 words) and front-loaded with the key action. Every word adds value, though it could be restructured as a full sentence for clarity. The brevity is acceptable for a simple tool.

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?

Given the tool's simplicity (one input, explicit output schema), the description is fairly complete. The annotations cover safety, and the schema covers parameters and return values. However, it omits details like ordering or inclusion of prerelease versions, which might be inferred from the output schema.

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?

The input schema has a single parameter 'id' with a description 'Package id', providing 100% coverage. The description adds no additional meaning beyond what the schema already communicates. A score of 3 is appropriate as the schema carries the burden adequately.

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 clearly states that the tool lists all published versions of a package. It implicitly distinguishes from sibling tools like 'get_package' and 'latest_version' by focusing on 'versions' rather than package metadata or a single version. However, it could be more explicit about the scope (e.g., 'list all' vs 'list filtered').

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 provides no guidance on when to use this tool versus alternatives such as 'latest_version' or 'get_package'. There is no mention of prerequisites (e.g., package existence), context of use, or exclusions. The agent must infer usage from the tool name alone.

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.