Skip to main content
Glama

get_file_docs

Retrieve coding patterns and conventions for specific files before modification to ensure adherence to project-specific rules and architectural decisions.

Instructions

Get file-specific coding patterns and conventions for ANY file you work with. Call BEFORE modifying code AND when you encounter a new file during implementation. Returns contextual guidelines, performance considerations, and architectural decisions for specific files or directories. Each file/directory may have unique rules that override general patterns. Use whenever: editing existing files, creating files in a new directory, implementing features that touch multiple files, or debugging file-specific issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesFile path or pattern. Examples: "src/components/Button.tsx", "**/*.test.js", "services/auth/*"

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/afterxleep/doc-bot'

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