Skip to main content
Glama

crates.io Rust Ecosystem MCP

Get Rust crate metadata

get_crate_details
Read-onlyIdempotent

Look up a Rust crate on crates.io for its description, total and recent downloads, max stable version, license, MSRV (rust_version), homepage, docs.rs link, and repository.

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_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
crate_nameYesRust crate name (e.g. "serde", "tokio", "reqwest", "clap").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing that the source is crates.io (external network lookup) and by enumerating exactly what is returned, which matters because there is no output schema; it also clarifies that MSRV comes from the rust_version field. It does not say what happens for a nonexistent crate or how "max stable version" treats pre-releases.

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?

One sentence, front-loaded with the verb and resource, followed by a payload list. The list is long but every item earns its place because no output schema exists to document return fields.

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 single-parameter read tool with full annotation coverage and no output schema, the description supplies the return-field inventory that would otherwise be missing. Gaps are minor: error behavior for unknown crates and the exact version-selection rule are unstated, but neither blocks correct invocation.

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 parameter with 100% schema description coverage, including example values ("serde", "tokio"), so the schema already does the work. The description adds no constraint on the crate_name beyond what the schema states. Baseline 3 applies when the schema fully documents the parameter.

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?

"Look up a Rust crate on crates.io" is a specific verb+resource, and the enumerated payload (description, downloads, version, license, MSRV, homepage, docs.rs, repository) makes the scope unambiguous. It does not explicitly name how it differs from siblings like get_crate_versions or get_crate_dependencies, but the field list implicitly separates it as the metadata tool.

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: an agent can infer this is the right tool when it wants crate metadata rather than dependency or version lists. There is no explicit when-to-use statement, no mention of when to prefer get_crate_versions or search_crates, and no prerequisites (e.g., exact crate name required, no fuzzy matching).

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.