Skip to main content
Glama

ppsspp_send_analog

Set the PSP analog stick state for game controls. Input x and y values from -1 to 1 to drive character movement or camera.

Instructions

PURPOSE: Set the PSP analog stick state (one of left/right; the PSP only has one stick natively but PPSSPP exposes both for forward-compat). USAGE: Drive games that need analog input — character movement, camera control. X and Y are signed in [-1.0, 1.0]; (0, 0) = neutral, (1, 0) = full right, (0, -1) = full up. BEHAVIOR: Modifies emulator analog input. State persists until updated. RETURNS: Single line 'Set analog stick STICK to (X, Y)'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stickYesWhich analog stick to update. PSP only has 'left' natively; 'right' is reserved.
xYesHorizontal axis. -1 = full left, 0 = center, 1 = full right.
yYesVertical axis. -1 = full down, 0 = center, 1 = full up.
Behavior4/5

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

Without annotations, the description discloses key behavioral traits: 'Modifies emulator analog input. State persists until updated.' and describes the return string. This is adequate for a simple stateful setter, though rate limits or side effects are not mentioned.

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 well-structured with sections (PURPOSE, USAGE, BEHAVIOR, RETURNS) and is concise, covering all necessary points without extraneous words. A minor improvement could be removing redundant phrasing.

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

Completeness5/5

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

Given the simple nature of the tool, complete schema coverage, and no output schema, the description fully addresses usage, behavior, and return format. The context of siblings (all emulator commands) is clear, and no further details are needed for an AI agent to use the tool correctly.

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

Parameters4/5

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

The input schema has 100% description coverage, but the description adds useful context: it explains the coordinate system with examples like '(0,0) neutral, (1,0) full right, (0,-1) full up' and notes that 'right' is reserved. This goes beyond the schema's min/max and enum 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 'Set the PSP analog stick state' and specifies that it handles one of left/right, noting the PSP only has one stick natively. It differentiates from sibling tools like ppsspp_press_button by explaining it is for analog input needed in games.

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 explicitly says 'Drive games that need analog input — character movement, camera control.' It also clarifies that 'right' is reserved for forward-compat, guiding selection between sticks. However, it does not explicitly contrast with digital press tools or state when not to use.

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/dmang-dev/mcp-ppsspp'

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