Skip to main content
Glama

Tuanjie Input Simulator

unity_input
Destructive

Simulate mouse, keyboard, and virtual input in Play Mode. Perform clicks, moves, drags, scrolls, key presses, and typing to automate interaction testing.

Instructions

Simulates mouse, keyboard, and virtual input devices, primarily in Play Mode. Supported actions: mouse_click, mouse_move, mouse_drag, mouse_scroll, mouse_down, mouse_up, key_press, key_down, key_up, type_text, create_virtual_devices, destroy_virtual_devices. Additional action-specific parameters are passed through unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already convey destructive/non-read-only/non-idempotent behavior. The description adds that virtual devices can be created/destroyed and that extra parameters pass through unchanged, but it does not disclose effects such as OS-level input injection, required Play Mode state, or cleanup obligations.

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?

Two sentences with no filler; the purpose is front-loaded and the action list is compact enough to scan. Every sentence earns its place.

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?

For a multi-action input tool with no output schema and no parameter descriptions, this is under-specified. An agent cannot determine required parameters for each action, ordering dependencies (e.g., creating virtual devices first), or return/error behavior, which are necessary to invoke the tool correctly.

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%; the only documented parameter is the action enum. The description repeats the enum and adds a pass-through note, but it never explains action-specific parameters (e.g., coordinates, buttons, key codes, text content), leaving the main invocation detail undocumented.

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?

States a specific verb 'simulates' with clear resources: mouse, keyboard, and virtual input devices. The supported action enum is listed, and 'input simulator' clearly separates this from the sibling Unity editor/tooling tools.

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?

Gives a clear context: 'primarily in Play Mode' and enumerates exactly which actions are supported. It does not explicitly exclude alternatives, but with a single input-focused tool among siblings the usage context is reasonably clear.

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