Skip to main content
Glama

Revenue Engine MCP

edit_file

Surgically edit files by finding and replacing exact text for revenue tracking and business management operations. Automatically creates backups and ensures precise text matching.

Instructions

Surgically edit a file by finding and replacing exact text. 50% more efficient than read+write. Use after read_file to ensure exact match. Errors if text not found or appears multiple times. Creates backup automatically.

Input Schema

NameRequiredDescriptionDefault
findYesExact text to find (must match exactly including whitespace)
pathYesFull file path
replace_withYesText to replace it with

Input Schema (JSON Schema)

{ "properties": { "find": { "description": "Exact text to find (must match exactly including whitespace)", "type": "string" }, "path": { "description": "Full file path", "type": "string" }, "replace_with": { "description": "Text to replace it with", "type": "string" } }, "required": [ "path", "find", "replace_with" ], "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/PromptishOperations/mcpSpec'

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