Skip to main content
Glama

Context Optimizer MCP Server

askAboutFile

Extract targeted information from files without loading entire contents. Ask specific questions about text, code, images, or PDFs to get precise answers while minimizing context usage.

Instructions

Extract specific information from files without reading their entire contents into chat context. Works with text files, code files, images, PDFs, and more.

Input Schema

NameRequiredDescriptionDefault
filePathYesFull absolute path to the file to analyze (e.g., "C:\Users\username\project\src\file.ts", "/home/user/project/docs/README.md")
questionYesSpecific question about the file content (e.g., "Does this file export a validateEmail function?", "What is the main purpose described in this spec?", "Extract all import statements")

Input Schema (JSON Schema)

{ "properties": { "filePath": { "description": "Full absolute path to the file to analyze (e.g., \"C:\\Users\\username\\project\\src\\file.ts\", \"/home/user/project/docs/README.md\")", "type": "string" }, "question": { "description": "Specific question about the file content (e.g., \"Does this file export a validateEmail function?\", \"What is the main purpose described in this spec?\", \"Extract all import statements\")", "type": "string" } }, "required": [ "filePath", "question" ], "type": "object" }

Other Tools from Context Optimizer MCP Server

Related Tools

    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/malaksedarous/context-optimizer-mcp-server'

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