Skip to main content
Glama
ZylNice

RenderDoc MCP Server

by ZylNice

find_draws_by_resource

Find all draw calls that reference a specific resource ID, scanning shaders, SRVs, UAVs, render targets, and depth targets. Get event IDs and match reasons.

Instructions

Find all draw calls using a specific resource ID (exact match).

Args: resource_id: Resource ID to search for (e.g. "ResourceId::12345" or "12345")

Returns a list of matching draw calls with event IDs and match reasons. Searches shaders, SRVs, UAVs, render targets, and depth targets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It explains the exact-match behavior, the return payload (draw calls with event IDs and match reasons), and the scope of resources searched. It does not mention side effects or permissions, but for a read-like search this is sufficient and adds meaningful context beyond the schema.

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 concise and well-organized, with a clear opening line, an Args section, and a returns/scope section. Every sentence contributes useful information without redundancy, making it efficient for an agent to parse.

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?

Given the presence of an output schema (though not shown), the description covers the key return details (list of draw calls with event IDs and match reasons) and the resource scope. It lacks information about pagination or limits, but these are minor for a single-parameter search tool, so overall it is appropriately complete.

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?

Schema coverage is 0%, but the description compensates by explaining the resource_id parameter with an example format (e.g., 'ResourceId::12345' or '12345'). This provides practical guidance on acceptable input, which the schema alone does not offer, making the description essential for correct invocation.

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 the tool's function: finding draw calls that use a specific resource ID via exact match. It specifies the resource types searched (shaders, SRVs, UAVs, render targets, depth targets), distinguishing it from sibling tools like find_draws_by_shader and find_draws_by_texture, which use different criteria.

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 description implies usage when a resource ID is known, but it does not explicitly state when to prefer this tool over alternatives or mention any exclusion criteria. It never references sibling tools, so an agent must infer the appropriate context from the description alone.

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