Skip to main content
Glama

AHK_VSCode_Open

Read-only

Open AutoHotkey files in VS Code to edit scripts. Use this tool to access recent files, navigate to specific lines, and manage workspace windows for coding.

Instructions

Open the most recently edited AutoHotkey file (or a specified file) in VS Code. Defaults to the last edited file recorded by MCP and falls back to the active file. Supports WSL environments and can target a specific workspace window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathNoFile path to open (defaults to last edited file, then active file)
lineNoLine number to reveal (1-based)
columnNoColumn number to reveal (1-based)
reuseWindowNoReuse the existing VS Code window
waitNoWait for VS Code to exit
workspaceFolderNoTarget VS Code workspace folder - opens file in the window with this folder open
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate read-only and open-world hints, but the description adds valuable behavioral context: it explains the fallback logic (defaults to last edited file, then active file), mentions WSL environment support, and describes workspace targeting. No contradiction with annotations exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose in the first sentence, followed by additional context in a second sentence. Every word serves a purpose, with no redundant information, making it highly efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (6 parameters, no output schema) and rich annotations, the description is mostly complete. It covers purpose, default behavior, and environmental support, but could benefit from mentioning error handling or confirmation of success, though annotations help mitigate this gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all 6 parameters. The description mentions 'specified file' and 'workspace window' which align with filePath and workspaceFolder parameters, but adds no significant semantic details beyond what the schema provides, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Open') and resource ('AutoHotkey file in VS Code'), specifies the default behavior ('most recently edited file'), and distinguishes it from siblings like AHK_File_Edit or AHK_File_View by focusing on VS Code integration and workspace targeting.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool (opening AHK files in VS Code with fallback logic) and mentions support for WSL environments and workspace windows, but does not explicitly state when not to use it or name alternatives among sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/TrueCrimeDev/ahk-mcp'

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