Skip to main content
Glama

get_package_docs

Retrieve the actual documentation content, such as README or description text, for a specified package from PyPI, npm, or crates.io.

Instructions

Fetch actual documentation content for a package. Returns README or description text. Use get_package_info first to check version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesPackage name
ecosystemNoLanguage/ecosystem (auto-detected if omitted)
Behavior2/5

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

No annotations are provided, so description must cover behavioral traits. It only states the return type (README or description text) but omits error handling, authentication needs, or rate limits. With no annotations, this is a significant gap.

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, front-loaded with purpose, zero wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers basic purpose and return type, but lacks details on error cases, output format, or behavior when package not found. No output schema, so description could add more completeness.

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 coverage is 100%, with both parameters well-described ('Package name' and 'Language/ecosystem' with enum and auto-detection note). Description adds no extra parameter semantics beyond workflow advice.

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?

Description clearly states the tool fetches documentation content and returns README or description text. However, it does not differentiate from the sibling 'search_package_docs', which might also return documentation.

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?

Explicitly advises using get_package_info first to check version, establishing a clear workflow. No exclusions or alternatives mentioned for when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

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/eshaanmathakari/scoutdocs-mcp'

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