Skip to main content
Glama
scarletfantasy

pix-mcp

pix_get_allocation_moves

Read-onlyIdempotent

Retrieve allocation migration and demotion events from a GPU capture, filterable by type and time range, to diagnose when video memory pressure forces moves out of VRAM.

Instructions

Allocations the driver moved between heaps, or demoted out of video memory.

The other half of pix_get_residency_operations. Residency says an allocation was evicted and made resident again; a migration says it was moved between heaps and whether that worked, and a demotion says it was pushed into system memory for good. A demoted texture still reads, just over PCIe on every frame that touches it, so the cost is permanent rather than a one-off.

kind selects "migration" or "demotion"; omitting it returns both in time order. Empty is the normal answer for a title inside its video memory budget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
limitNo
end_timeNo
capture_idYes
start_timeNo
cursor_positionNo
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds useful context: migration records whether the move worked, demotion is permanent, results are time-ordered, and empty results are normal for titles within budget. No contradiction with annotations.

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 front-loaded with the core subject and each paragraph adds useful context: the concept, the sibling relationship, kind behavior, and expected results. The PCIe analogy is slightly elaborate but supports understanding of why demotion is costly.

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

Completeness4/5

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

The domain semantics are well covered, including the meaning of migration vs. demotion, kind filtering, time ordering, and the normal empty result. An output schema exists, so return-value documentation is not the description's burden. Optional parameter semantics remain somewhat thin, but the core invocation guidance is sufficient.

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%, so the description carries the burden for parameter meaning. It meaningfully explains kind and its omission behavior, but the other six parameters, including limit, start_time, end_time, cursor_position, timeout_seconds, and capture_id, receive no semantic explanation beyond their names in 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 states a specific resource and operation: allocation moves between heaps or demotions out of video memory. It also explicitly positions this tool as 'the other half of pix_get_residency_operations,' making the distinction from a key sibling unambiguous.

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?

It names pix_get_residency_operations and contrasts residency vs. migration/demotion. It also gives clear selection guidance for the kind parameter, states the default behavior when kind is omitted, and sets the expectation that an empty result is normal.

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