Skip to main content
Glama

get_section

Extract content from a specific heading in a markdown file until the next heading of same or higher level.

Instructions

Extract a section by heading from a markdown file. Returns content from that heading until the next heading of same or higher level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPath to the markdown file
headingYesHeading text to find (case-insensitive)

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