Skip to main content
Glama

Get grade

get_grade
Read-onlyIdempotent

Retrieves a DaVinci Resolve clip's grade details—nodes, labels, LUTs, tools, on/off states, CDL values, versions, color group, and auto color—for inspection or scripting.

Instructions

The grade of a clip: every node with its label, LUT, tools, on/off state and CDL numbers, plus versions, color group and auto color. Scripts can see which tools a node uses but not the wheel or curve values.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNoTimeline clip or photo handle, or exact clip name; 'current' = clip under the playheadcurrent
layerNo
scopeNoclip = the clip's own nodes, timeline = nodes for the whole timeline, group_pre/group_post = nodes of the clip's color groupclip
response_formatNoconcise leaves out empty values and shortens long lists.detailed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds genuine value beyond that by listing the returned contents and disclosing a real limitation (wheel/curve values are not exposed to scripts). It stops short of noting anything about size, cost, or behavior of the timeline/group scopes.

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?

Two compact sentences that front-load the resource and then pack the field inventory efficiently. Slightly dense phrasing ('plus versions, color group and auto color') but no filler or repetition.

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?

With no output schema, the description carries the burden of describing return values, and it does so reasonably well through the field enumeration. Gaps remain around what the timeline/group scopes return and how layer interacts with item, but the core read operation is adequately specified.

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 75% with enums on scope and response_format, and the schema itself describes 'item', 'scope' and 'response_format'. The description adds essentially nothing about the layer or scope parameters, so it does not push meaning beyond the schema; the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (a clip's grade) and enumerates what the grade contains: nodes with label, LUT, tools, on/off state, CDL numbers, versions, color group and auto color. It is clearly a read-side complement to set_grade, though it never names that sibling or explicitly frames itself as the read counterpart.

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?

There is no explicit when-to-use guidance: nothing tells the agent to call this before set_grade to inspect existing state, or how it relates to get_item or analyze_timeline. The only contextual remark ('Scripts can see which tools a node uses but not the wheel or curve values') is a limitation disclosure rather than usage direction.

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