Skip to main content
Glama

Crates Get Versions

crates_get_versions
Read-onlyIdempotent

List all published versions for a crate in reverse chronological order. Returns version number, download count, and publish date.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "serde"
    },
    "name": "crates_get_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCrate name

Output Schema

NameRequiredDescriptionDefault
crateYesCrate name
versionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuine value beyond that with the ordering guarantee (reverse chronological) and the returned fields, which the agent needs to interpret position 0 as the latest version.

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 short sentences, zero filler, and the ordering and return content are front-loaded right after the purpose. Nothing repeats the tool name or the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 full schema coverage, full annotations, and an output schema, the description covers purpose, ordering, and the salient return fields. Nothing an agent needs in order to call it correctly is missing.

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?

There is a single required parameter 'name' with 100% schema coverage ("Crate name"), so the schema already carries the semantics. The description adds nothing about the name (case sensitivity, exact match vs fuzzy, scoped crates like 'serde_json'), so the baseline 3 is correct.

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?

States a specific verb and resource ("List all published versions for a crate") plus a scope ordering (reverse chronological). An agent can tell this apart from get_crate or get_crate_dependencies by the 'versions' resource, though the description never names or contrasts those siblings 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 only implied by the phrase "for a crate"; there is no statement of when to prefer this over get_crate or when version history is the wrong tool. An agent can infer the intent but must do the routing work itself.

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.