Skip to main content
Glama

get_doc_section

Retrieve the full Markdown content of a documentation section for a specified package. Supports version selection with caching for efficient access.

Instructions

Return the full Markdown content of a specific documentation section.

The first call fetches the live docs page and caches it locally. Later calls are served from the cache.

Defaults to the latest version. Call list_doc_versions(package) first if the user asks about a specific older version.

Call get_package_info(package) first to discover the available sections.

Args: package: Package name as returned by list_packages(). section: Section id (e.g. 'introduction', 'faq'). version: Docs version slug (default: 'latest'). Use list_doc_versions() to discover available versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYes
sectionYes
versionNolatest

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, but the description fully discloses caching behavior: 'The first call fetches the live docs page and caches it locally. Later calls are served from the cache.' It also implies a read-only, non-destructive operation.

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 starts with a concise purpose, then uses clear paragraphs for usage guidelines and parameter details. Every sentence adds value without redundancy.

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?

Given the presence of an output schema, the description does not need to detail return values. It covers caching, prerequisites, and parameter sources, making it fully complete for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates by explaining each parameter: package as from list_packages(), section with examples, and version with default and reference to list_doc_versions.

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 states 'Return the full Markdown content of a specific documentation section' with a clear verb and resource. It distinguishes from sibling tools like search_docs and fetch_latest_docs by specifying it returns a single section's content and mentions caching behavior.

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

Usage Guidelines5/5

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

Explicitly advises calling get_package_info first to discover sections and list_doc_versions before using a specific version. This guides the agent on prerequisites and when to use alternative tools.

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/JonasKlimt/ie_mcp'

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