Skip to main content
Glama
rezaahmadn

godot-mcp-bridge

by rezaahmadn

simulate_key

Send keyboard events to the active game using key names like W, SPACE, or ESCAPE, enabling automated input simulation and gameplay testing.

Instructions

Send a keyboard event to the running game by key name such as W, SPACE, ESCAPE or F1 (dropped if no game is running)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
altNo
ctrlNo
shiftNo
keycodeYes
pressedNo
Behavior3/5

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

With no annotations, the description shoulders the transparency burden. It reveals the drop-if-no-game behavior, which is useful. However, it does not explain how the boolean parameters (alt, ctrl, shift, pressed) affect the event, nor whether both press and release events are sent. The 'pressed' semantics (default true) is left ambiguous, which is a notable gap.

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 a single sentence that is front-loaded with the action verb, includes useful examples, and adds a concise caveat. Every word earns its place; no redundancy or fluff.

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

Completeness3/5

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

The tool has 5 parameters, no annotations, and no output schema, so the description needs to provide substantial context. It covers the keycode parameter and the drop condition, but omits the behavior of the modifier toggles and the pressed state. For a relatively simple tool this is partially complete, but leaves an agent guessing about essential input semantics.

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?

Schema description coverage is 0%, so the description must compensate. It provides examples for the 'keycode' parameter, clarifying it expects a key name. But it says nothing about the meaning of alt, ctrl, shift, or pressed, leaving four parameters unexplained. This is inadequate for a schema with no parameter descriptions.

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 action ('Send a keyboard event'), the target ('the running game'), and provides concrete key name examples ('W, SPACE, ESCAPE or F1'). It unambiguously distinguishes itself from sibling input simulation tools like simulate_mouse_click and simulate_mouse_move by focusing specifically on keyboard input.

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 context is clear: this tool is for sending keyboard events to the running game. It includes an important caveat that events are dropped if no game is running, which gives practical usage guidance. However, it does not explicitly state when to prefer this over simulate_action or simulate_sequence, nor does it mention exclusions, so it stops short of a 5.

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/rezaahmadn/godot-mcp-bridge'

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