Skip to main content
Glama

Get Crate Reverse Deps

get_crate_reverse_deps
Read-onlyIdempotent

List crates that DEPEND ON a given crate (reverse dependencies), most-downloaded first, answers "what uses ", "how widely adopted is ", "who depends on ". Returns the total dependent count plus the top dependents with their version requirement, dependency kind, and download counts.

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": "get_crate_reverse_deps"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCrate name (e.g. "serde").
limitNoNumber of top dependents to return (default 20, max 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "name": "serde"
      +  },
      +  {
      +    "limit": 50,
      +    "name": "tokio"
      +  }
      +]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world). The description adds behavior they cannot express: results are ordered most-downloaded first, the response includes a total dependent count plus per-dependent version requirement, dependency kind, and download counts. It does not mention rate limits or error behavior for unknown crate names.

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 sentences, both earning their place: the first defines the operation, ordering, and selection questions; the second defines the return shape. It is front-loaded with the core definition and contains no filler.

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?

With no output schema, the description carries the return-value burden and does so by enumerating the count plus dependent fields. For a two-parameter read tool this is nearly complete; only edge behavior (nonexistent crate) is unaddressed.

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%, including the default of 20 and max of 100 for limit, so the schema already does the heavy lifting. The description only reinforces that limit selects the 'top dependents' under the download ordering — marginal added meaning, matching the baseline 3.

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 crates that depend on a given crate — with capitalised emphasis on the reverse direction, which implicitly contrasts with get_crate_dependencies. It stops short of naming that sibling, so an agent must infer the contrast rather than being routed explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Frames usage around concrete questions ("what uses <crate>", "how widely adopted is <crate>", "who depends on <crate>"), which gives clear selection context. There are no explicit exclusions or named alternatives for the forward-dependency case, so the guidance is strong but not complete.

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.