Skip to main content
Glama

OpenTelemetry Documentation MCP Server

by ryu1maniwa

read_documentation

Convert OpenTelemetry documentation pages to markdown format. Fetch content in chunks for long documents, preserving headings, code blocks, lists, and tables.

Instructions

Fetch and convert a OpenTelemetry documentation page to markdown format.

Usage

This tool retrieves the content of a OpenTelemetry 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 opentelemetry.io domain
  • Must be a documentation page

Example URLs

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 OpenTelemetry 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 OpenTelemetry documentation

Input 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 OpenTelemetry documentation page to read

Input Schema (JSON Schema)

{ "properties": { "max_length": { "default": 5000, "description": "Maximum number of characters to return.", "exclusiveMaximum": 1000000, "exclusiveMinimum": 0, "title": "Max Length", "type": "integer" }, "start_index": { "default": 0, "description": "On return output starting at this character index, useful if a previous fetch was truncated and more content is required.", "minimum": 0, "title": "Start Index", "type": "integer" }, "url": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "string" } ], "description": "URL of the OpenTelemetry documentation page to read", "title": "Url" } }, "required": [ "url" ], "title": "read_documentationArguments", "type": "object" }

Other Tools from OpenTelemetry Documentation MCP Server

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/ryu1maniwa/opentelemetry-documentation-mcp-server'

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