Skip to main content
Glama

read_file

Read complete file contents from the file system to examine text before editing. Handles various text encodings and returns full file content using file path input.

Instructions

Read the complete contents of a file from the file system. Handles various text encodings and returns the full file content. Use this to examine file contents before editing.

Input Schema

NameRequiredDescriptionDefault
pathYesThe path to the file to read (absolute or relative)

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "The path to the file to read (absolute or relative)", "type": "string" } }, "required": [ "path" ], "type": "object" }

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/koopatroopa787/first_mcp'

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