Skip to main content
Glama

crates.io Rust Ecosystem MCP

Get Rust crate version history

get_crate_versions
Read-onlyIdempotent

List release versions for a Rust crate with semver numbers, publish timestamps, download counts, license, MSRV, crate size, and yanked status.

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": {
      "crate_name": "<crate_name>"
    },
    "name": "get_crate_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum versions to return (1 to 100). Default 15.
crate_nameYesRust crate name (e.g. "serde", "tokio", "axum").
include_yankedNoInclude yanked versions in the output. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description's real contribution is enumerating returned fields (semver, publish timestamps, downloads, license, MSRV, size, yanked status), which matters because there is no output schema, but it says nothing about ordering (newest first?), pagination behavior, or what happens for an unknown crate name.

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?

A single front-loaded sentence with the resource named first and the payload as a compact list. Every element is informative, though the field enumeration is long enough to read as a laundry list rather than prioritized information.

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 read-only lookup with full schema coverage and complete annotations, the description covers purpose and returned content adequately. The remaining gaps, result ordering and unknown-crate behavior, are minor but real given there is no output schema to fall back on.

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%, so crate_name, limit and include_yanked are all documented in the schema with examples and defaults. The description only echoes 'yanked status', adding no syntax or format detail beyond the structured fields; baseline 3 applies.

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 and resource ('List release versions for a Rust crate') and enumerates the fields returned, so an agent can distinguish it from get_crate_details or search_crates by the 'versions' focus. It stops short of explicitly naming a sibling to contrast with, which keeps it below a 5.

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: the field list suggests 'use this when you need version history, timestamps, or yanked status'. There is no explicit when-to-use statement, no mention of when to prefer get_crate_details, and no note on how to handle very long version histories.

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.