Skip to main content
Glama

dosbox_key_event

Press or release a DOSBox-X QKeyCode key to simulate keyboard input.

Instructions

Press or release one DOSBox-X QKeyCode key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
downYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are present, so the description must disclose behavioral details. It indicates that the tool presses or releases a key, implying a state change, but it does not mention side effects, timing, or whether it triggers events. The description gives a basic sense of behavior but lacks depth regarding the action's consequences.

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

Conciseness4/5

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

The description is a single, concise sentence with no filler words, which is efficient. It adequately covers the basic action without verbosity, though it could be slightly more structured to include parameter details without becoming lengthy.

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

Completeness2/5

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

The description is minimal and does not address the output (if any), prerequisites, or limitations. Given that the input schema is sparse (no parameter descriptions) and no annotations exist, the description fails to provide sufficient context for full usability, leaving the agent to guess about return values and edge cases.

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

Parameters2/5

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

The schema provides no descriptions for the parameters, and the tool description does not explain what values 'key' accepts (e.g., key names, codes) or the precise meaning of 'down' (true for press, false for release). While the description hints at the distinction ('press or release'), it does not define parameter formats or allowed values, leaving room for ambiguity.

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

Purpose4/5

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

The description clearly states the action (press or release) and the resource (a single DOSBox-X QKeyCode key), distinguishing it from sibling tools like send_keys or type_text. It is specific enough for the agent to understand the tool's primary function, though it assumes prior knowledge of QKeyCode terminology.

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

Usage Guidelines2/5

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

The description does not provide guidance on when to use this tool over alternatives. For example, it does not mention that this tool is for discrete key down/up events, or that send_keys might be used for multi-key sequences. Without explicit usage criteria, the agent may struggle to select the appropriate tool among many similar 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/64kramsystem/dos-mcp'

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