Skip to main content
Glama
ZylNice

RenderDoc MCP Server

by ZylNice

get_texture_data

Extract texture pixel data as base64, with options for mip, slice, sample, and depth, returning dimensions and format metadata.

Instructions

Read the pixel data of a texture resource.

Args: resource_id: The resource ID of the texture to read mip: Mip level to retrieve (default: 0) slice: Array slice or cube face index (default: 0) For cube maps: 0=X+, 1=X-, 2=Y+, 3=Y-, 4=Z+, 5=Z- sample: MSAA sample index (default: 0) depth_slice: For 3D textures only, extract a specific depth slice (default: None = full volume) When specified, returns only the 2D slice at that depth index

Returns texture pixel data as base64-encoded bytes along with metadata including dimensions at the requested mip level and format information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mipNo
sliceNo
sampleNo
depth_sliceNo
resource_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states it returns base64-encoded bytes and metadata, and describes parameter semantics (like cube map face ordering). However, it does not mention potential side effects, error conditions, or authorization requirements. For a read-only operation, the description adequately implies non-destructive behavior but lacks full transparency on failure modes.

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 structured with a clear purpose statement, then a numbered Args list, followed by a return description. It is front-loaded with the core action and does not waste words. The details are necessary given the parameter complexity, so the length is justified and remains organized.

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?

For a parameter-rich read tool with an existing output schema, the description covers the essential aspects: what it does, parameter meanings, and return format. It could further address error handling or prerequisites (e.g., valid resource ID), but given the tool's simplicity and presence of an output schema, it is largely complete.

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

Parameters5/5

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

The input schema has no descriptions for parameters (0% coverage), so the description must compensate. It does exceptionally well: each parameter is clearly defined, including special semantics for slice (cube map face indices) and depth_slice (3D texture extraction). This far exceeds what the schema provides and is essential for correct usage.

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 'Read the pixel data of a texture resource' which identifies the specific verb (read) and resource (texture pixel data). This distinguishes it from sibling tools like get_texture_info which likely returns metadata, and get_buffer_contents which targets general buffers. The purpose is explicit and unambiguous.

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 that this tool is for reading texture pixel data, which is distinct from other tools that retrieve info or buffer contents. However, it does not explicitly state when to use this tool over alternatives or provide exclusion conditions. The context is clear but not as directed as it could be.

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/ZylNice/RenderdocMCP'

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