Skip to main content
Glama

list_headings

Extract all headings from a markdown file to create a structured table of contents for navigation and content overview.

Instructions

List all headings (# through ######) in a markdown file as a table of contents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPath to the markdown file

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/ofershap/mcp-server-markdown'

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