Skip to main content
Glama
ZylNice

RenderDoc MCP Server

by ZylNice

find_draws_by_shader

Identify all draw calls that use a shader matching a given name or entry point, optionally filtered by shader stage.

Instructions

Find all draw calls using a shader with the given name (partial match).

Args: shader_name: Partial name to search for in shader names or entry points stage: Optional shader stage to search (if not specified, searches all stages)

Returns a list of matching draw calls with event IDs and match reasons.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stageNo
shader_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It discloses partial match behavior and that it searches all stages by default, and it mentions the return format (list with event IDs and match reasons). However, it does not explicitly state that the operation is read-only, nor does it mention potential performance implications or pagination. The provided details are useful but not exhaustive.

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 efficient and well-structured. The first sentence states the core action, followed by a clear 'Args' section and a return description. There is no fluff, and the most important information (partial match, optional stage) is front-loaded.

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 description covers the main aspects needed to invoke the tool: what it searches for, the parameters, and what it returns. Given the existence of an output schema (which likely details the return structure), the description does not need to over-explain returns. Minor gaps like handling of no matches or sorting are not critical. It is complete enough for an agent to use correctly.

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%, so the description must compensate. It does: it explains shader_name as 'Partial name to search for in shader names or entry points' and stage as 'Optional shader stage to search (if not specified, searches all stages)'. This adds meaningful context beyond the raw schema, which only defines types. The description effectively documents both parameters.

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 ('Find') and resource ('draw calls using a shader'), and even specifies partial matching. This distinguishes it from siblings like find_draws_by_texture and find_draws_by_resource, which target different attributes. The purpose is immediately obvious.

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

Usage Guidelines3/5

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

The description implies when to use it (when searching draws by shader name or entry point) but does not explicitly mention alternative tools or conditions for not using it. The parameter guidance (e.g., 'if not specified, searches all stages') is helpful, but the description does not contrast with siblings.

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