Skip to main content
Glama
Crates.io Rust MCP

Crates.io Rust MCP

Get Rust crate reverse dependencies

get_reverse_dependencies
Read-onlyIdempotent

Find how many crates on crates.io depend on a given Rust crate and list its top reverse dependents, helping you assess adoption and downstream impact.

Instructions

Retrieve total reverse dependency count and top crates on crates.io that depend on the specified Rust crate.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum reverse dependents to list (1 to 50). Default 15.
crate_nameYesRust crate name (e.g. "serde", "tokio", "thiserror").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context by disclosing the return shape (a total count plus a ranked list of top dependents) in the absence of an output schema, though it says nothing about ordering, error behavior for unknown crates, or rate limits.

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?

A single well-formed sentence with the resource and scope front-loaded and zero filler. Nothing could be removed without losing 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 two-parameter read-only lookup with full schema coverage and rich annotations, the description is nearly sufficient, and it usefully summarizes the return payload. It could be slightly stronger by noting that results are limited to the top N dependents or by pointing to the forward-dependency sibling.

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%, with both crate_name and limit fully documented including bounds and default. The description only restates that a crate is specified and hints at 'top crates' corresponding to the limit, adding no syntax or format meaning beyond the schema; 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 states a specific verb ('Retrieve') and a specific resource ('total reverse dependency count and top crates on crates.io that depend on the specified Rust crate'), which inherently distinguishes it from the forward-looking get_crate_dependencies sibling. It stops short of naming that sibling explicitly, so the differentiation is implicit rather than spelled out.

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 tool for finding what depends on a crate, but there is no explicit when-to-use guidance, no statement of when to prefer get_crate_dependencies or get_crate_details instead, and no prerequisites or exclusions.

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