Skip to main content
Glama
hosseinzahed

AWS Documentation MCP Server

by hosseinzahed

read_documentation

Retrieve and convert AWS documentation pages into markdown format for structured access. Supports fetching content in chunks for long documents, ensuring comprehensive retrieval. Compatible with docs.aws.amazon.com domain URLs ending in .html.

Instructions

Fetch and convert an AWS documentation page to markdown format.

Usage

This tool retrieves the content of an AWS documentation page and converts it to markdown format. For long documents, you can make multiple calls with different start_index values to retrieve the entire content in chunks.

URL Requirements

  • Must be from the docs.aws.amazon.com domain

  • Must end with .html

Example URLs

  • https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

  • https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html

Output Format

The output is formatted as markdown text with:

  • Preserved headings and structure

  • Code blocks for examples

  • Lists and tables converted to markdown format

Handling Long Documents

If the response indicates the document was truncated, you have several options:

  1. Continue Reading: Make another call with start_index set to the end of the previous response

  2. Stop Early: For very long documents (>30,000 characters), if you've already found the specific information needed, you can stop reading

Args: ctx: MCP context for logging and error handling url: URL of the AWS documentation page to read max_length: Maximum number of characters to return start_index: On return output starting at this character index

Returns: Markdown content of the AWS documentation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_lengthNoMaximum number of characters to return.
start_indexNoOn return output starting at this character index, useful if a previous fetch was truncated and more content is required.
urlYesURL of the AWS documentation page to read

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: URL domain and format requirements, handling of long documents via truncation and chunking, and output format details (markdown with preserved structure). It could improve by mentioning rate limits or authentication needs, but covers core operational behavior well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Usage, URL Requirements, Example URLs, Output Format, Handling Long Documents) and front-loads the core purpose. It's appropriately sized for the tool's complexity, though the 'Handling Long Documents' section is somewhat verbose. Every sentence serves a purpose, with no wasted text.

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 tool's moderate complexity (3 parameters, no annotations, but with output schema), the description provides complete context. It covers purpose, usage constraints, URL requirements, examples, output format, and handling of edge cases (long documents). With an output schema present, it doesn't need to detail return values, and it adequately compensates for the lack of annotations.

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%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema: it mentions start_index for chunking and max_length for truncation in the 'Handling Long Documents' section, but doesn't provide additional semantic context. This meets the baseline expectation when schema coverage is complete.

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 tool's purpose: 'Fetch and convert an AWS documentation page to markdown format.' It specifies the exact action (fetch and convert), resource (AWS documentation page), and output format (markdown). It also distinguishes from sibling tools like 'search_documentation' by focusing on retrieving specific pages rather than searching.

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?

The description provides explicit guidance on when to use this tool: for AWS documentation pages from docs.aws.amazon.com ending with .html. It also offers alternatives for handling long documents (continue reading with start_index or stop early) and implicitly contrasts with 'search_documentation' by focusing on fetching specific URLs rather than searching.

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/hosseinzahed/aws-docs-mcp'

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