Skip to main content
Glama
AstralVoidZ
by AstralVoidZ

ppsspp_dump_texture

Read-onlyIdempotent

Dump the currently bound GPU texture from an active PPSSPP session, returning the image with format and size metadata. Use a scene that renders the target texture to avoid empty captures.

Instructions

PURPOSE: Dump the currently-bound GPU texture as an image plus metadata.

USAGE: session_id. Only the CURRENTLY bound texture — no VRAM-address targeting.

BEHAVIOR: READ-ONLY. An empty capture raises CAPTURE_EMPTY — enter a scene that renders and retry.

RETURNS: structuredContent metadata (level/file_path/size_bytes/format); the image itself arrives as an ImageContent block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoTexture mipmap level (default 0). PPSSPP captures the currently-bound texture — it does NOT support capture by VRAM address.
session_idYesActive session ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelYesTexture mipmap level dumped.
formatYesImage format ('png' or 'jpeg').
file_pathYesPath where image was saved.
size_bytesYesDecoded image size in bytes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint. The description adds valuable behavioral context beyond these: it declares READ-ONLY, details an error condition (CAPTURE_EMPTY) and prescribes a retry action, and explains the return format (structuredContent metadata plus ImageContent block). This exceeds the baseline needed when annotations are present.

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 compact and well-structured with bolded section labels (PURPOSE, USAGE, BEHAVIOR, RETURNS). Each sentence serves a distinct function—purpose, usage constraint, behavior/error, and output format—with zero filler or redundancy.

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 this is a simple tool with an output schema and annotations already covering safety and idempotency, the description provides all essential operational context: how to invoke it (session_id), what it captures (currently bound texture), what errors may occur and how to recover, and what output to expect. Nothing critical is missing for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents both parameters. The description repeats that session_id is required and clarifies texture selection behavior, but this is largely redundant with the schema's own parameter descriptions. It adds minimal semantic value beyond the schema.

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 a specific verb and resource: 'Dump the currently-bound GPU texture as an image plus metadata.' It distinguishes itself from siblings by explicitly noting it targets only the currently bound texture and not VRAM addresses, making it easy to differentiate from tools like ppsspp_screenshot or ppsspp_dump_clut.

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 provides clear context: it requires a session_id and only operates on the currently bound texture, explicitly excluding VRAM-address targeting. However, it does not name alternative tools or explicitly state when to use this tool over siblings, leaving some inferencing to the agent.

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