Skip to main content
Glama
AstralVoidZ
by AstralVoidZ

ppsspp_memory_map

Read-onlyIdempotent

Get the memory region map for a PPSSPP session, showing user, kernel, and VRAM ranges. Understand the emulator's memory layout for debugging.

Instructions

PURPOSE: Get the PPSSPP memory region map (user / kernel / VRAM ranges).

USAGE: session_id.

BEHAVIOR: READ-ONLY.

RETURNS: {ranges[], mapping, text}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesActive session ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesUnified text representation: one line per range, formatted as '0x{ADDR:08X}-0x{END:08X} {TYPE}/{subtype} {NAME}'.
rangesYesMemory ranges from `memory.mapping`. Each entry has 'type' (ram/vram/sram), 'subtype' (primary/mirror), 'name', 'address', and 'size'.
mappingYesRaw `memory.mapping` response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description's 'READ-ONLY' line is redundant. It does add useful return-shape context ('{ranges[], mapping, text}') and the region taxonomy, but no deeper behavioral details about pagination, errors, or session requirements.

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?

Four labeled one-line sections deliver purpose, usage, behavior, and return shape with zero filler. The purpose is front-loaded and every sentence contributes meaningful information.

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?

For a tool with a single documented parameter, strong annotations, and an output schema, the description covers the essential contract needed to call it correctly. Missing sibling guidance is a minor secondary concern, not a completeness gap.

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 coverage is 100%, and the session_id parameter is already documented as 'Active session ID.' The description merely repeats 'session_id' without adding semantic details such as format, validity, or how a session is obtained.

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 and resource: 'Get the PPSSPP memory region map (user / kernel / VRAM ranges)'. It clearly distinguishes from sibling memory tools such as read_memory or disassemble by focusing on memory region ranges rather than contents.

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

Usage Guidelines2/5

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

The 'USAGE: session_id' line only restates the parameter requirement and gives no contextual guidance. It does not mention when to choose this tool over related siblings like read_memory, memory_info_search, or convert_address, nor does it state any exclusions or prerequisites.

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