Skip to main content
Glama

open_context

Extract code context around specific lines in Python files to help debug test failures by showing surrounding code sections for analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
lineYes
radiusNo
base_dirNo

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/shanirap/MCP-SERVER'

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