ui_keystroke
Simulate keyboard key combinations on macOS to automate tasks and control applications through the MCP server.
Instructions
Sends a key combination, e.g.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Simulate keyboard key combinations on macOS to automate tasks and control applications through the MCP server.
Sends a key combination, e.g.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations and no additional behavioral context in the description, the agent has no information about side effects, whether the action is destructive, or if focus is required. The description is purely functional and incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely short but incomplete due to trailing 'e.g.' without content. While brevity is valued, this undermines clarity. A proper description should be self-contained.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description must provide full context. It fails to define valid key combinations, behavioral expectations, or interaction with other UI tools. The tool is essentially undocumented.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has no properties, so schema coverage is 100%. However, the description fails to explain how to specify a key combination or what keys are accepted. The truncated example ('e.g.') shows the tool expects some input, but no guidance is given, making the parameter semantics unclear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'Sends a key combination' but ends with 'e.g.' without completing the example. The verb and resource are vaguely clear, but the missing example leaves ambiguity about what constitutes a valid key combination, especially given the large set of sibling UI tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use ui_keystroke versus alternatives like ui_type, safari_type, or other browser-specific tools. The description does not mention context, prerequisites, or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanchuske/local-mcp-releases'
If you have feedback or need assistance with the MCP directory API, please join our Discord server