Skip to main content
Glama

Get Crate Dependencies

get_crate_dependencies
Read-onlyIdempotent

List the dependencies of a specific crate version — what itself depends on. Returns each dependency with its version requirement, kind (normal/build/dev), optional flag, enabled features, and target. Version is optional (defaults to the latest stable). Use for "what does depend on", dependency audits, or sizing a crate's footprint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCrate name (e.g. "tokio").
versionNoExact version (e.g. "1.40.0"), or omit for the latest stable.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to repeat safety traits. It adds important behavioral detail about the return structure (version requirement, kind, optional flag, features, target), which goes beyond annotations.

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?

The description is two sentences, tightly written with no filler. Every sentence adds value: first defines purpose, second explains return content and use cases.

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 simple list operation, the description covers the input (name and optional version), the output (dependency details), and common use cases. No output schema exists, but the description adequately explains return values. Additional nuances like pagination or limits are not needed given the tool's simplicity.

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%, and the schema already documents both parameters with descriptions. The description adds only a minor reinforcement that version defaults to latest stable, which is already implied. No additional semantics are provided beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb (List) and resource (dependencies of a specific crate version). It explicitly distinguishes from the sibling tool 'get_crate_reverse_deps' by specifying 'what <crate> itself depends on', making the purpose unambiguous.

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?

The description provides explicit use cases ('dependency audits', 'sizing a crate's footprint') and notes that version is optional. However, it does not explicitly mention when not to use the tool or compare it to alternatives, which would merit a 5.

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.