Skip to main content
Glama

ppsspp_press_button

Press a PSP button for a set number of frames and automatically release it. Ideal for discrete actions like skipping cutscenes or confirming menu selections in the emulator.

Instructions

PURPOSE: Press a PSP button for a fixed number of frames, then auto-release. USAGE: Use for discrete actions like pressing Start to skip a cutscene, or Cross to confirm a menu. For longer holds across many frames use ppsspp_press_buttons (persistent state) instead. BEHAVIOR: Modifies emulator input state. PPSSPP queues the press internally and releases the button after duration frames; the tool call returns immediately. Returns an error if the button name isn't recognized. RETURNS: Single line 'Pressed BUTTON for N frames (auto-released)'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buttonYesPSP button name. Valid: cross, circle, triangle, square, up, down, left, right, start, select, ltrigger, rtrigger, home.
durationNoNumber of frames to hold the button before releasing (default 1).
Behavior5/5

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

No annotations provided, but the description fully explains the behavior: the emulator queues the press internally, the tool returns immediately, and the button is auto-released after the specified duration. Also mentions error handling for unrecognized button names.

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?

Description uses a clear, structured format (PURPOSE, USAGE, BEHAVIOR, RETURNS) and is concise with no wasted words. All information is front-loaded.

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 low complexity (2 parameters, no nested objects, no output schema), the description is complete. It covers purpose, usage, behavior, return value, and error conditions.

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?

Input schema covers 100% of parameters with descriptions. The description adds value by mentioning the return message format, which is not in the schema, and provides context about the button names without repeating the enum list.

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 it presses a PSP button for a fixed number of frames and auto-releases. It distinguishes from the sibling tool ppsspp_press_buttons by specifying that the press is discrete and temporary.

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

Usage Guidelines5/5

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

Explicitly says to use for discrete actions and to use ppsspp_press_buttons for longer holds. Provides concrete examples (skipping cutscene, confirming menu).

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