Skip to main content
Glama

docs.rs MCP

by nuskey8

docs_rs_get_item

Retrieve detailed documentation for specific items (modules, structs, traits, enums, functions, etc.) within Rust crates on docs.rs. Specify crate name, item type, and path to access precise content.

Instructions

Get documentation content of a specific item (module, struct, trait, enum, function, etc.) within a crate

Input Schema

NameRequiredDescriptionDefault
crate_nameYesName of the crate
item_pathYesThe full path of the item, including the module name (e.g. wasmtime::component::Component)
item_typeYesType of item: 'module' for modules, 'struct', 'trait', 'enum', 'type', 'fn', etc.
versionNoSpecific version (optional, defaults to latest)

Input Schema (JSON Schema)

{ "properties": { "crate_name": { "description": "Name of the crate", "type": "string" }, "item_path": { "description": "The full path of the item, including the module name (e.g. wasmtime::component::Component)", "type": "string" }, "item_type": { "description": "Type of item: 'module' for modules, 'struct', 'trait', 'enum', 'type', 'fn', etc.", "type": "string" }, "version": { "description": "Specific version (optional, defaults to latest)", "type": "string" } }, "required": [ "crate_name", "item_type", "item_path" ], "type": "object" }

Other Tools from docs.rs MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuskey8/docs-rs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server