Skip to main content
Glama

photo_set_rating

Assign a 0–5 star rating to a photo by name, ID, or album index to organize and rank images in DaVinci Resolve.

Instructions

Star-rate a photo (0-5).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "photo": "<photo>",
      "rating": "<rating>"
    },
    "name": "photo_set_rating"
  }
}

Input Schema

NameRequiredDescriptionDefault
albumNoAlbum name or id (default: current album)
photoYesPhoto name, id or 1-based index in the album
ratingYes

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only the 0-5 range, which is already in the schema, and says nothing about whether an existing rating is overwritten, whether 0 clears a rating, or what the tool returns on an invalid photo reference.

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?

A single short sentence with the operation front-loaded and zero filler. It is arguably over-terse rather than verbose, and the parenthetical restates a schema constraint, but structurally it is clean.

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

Completeness3/5

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

An output schema exists and annotations cover the safety profile, which lowers the burden. Still, for a three-parameter mutation tool the description omits overwrite semantics and error behavior that an agent would want before calling it.

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 coverage is 67%, with 'album' and 'photo' already documented in the schema. The description's '(0-5)' duplicates the schema's minimum/maximum on 'rating' and says nothing about the album scoping or the 1-based-index form of 'photo', so it adds essentially no meaning beyond structured data.

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?

The description states a specific verb and resource ('Star-rate a photo') plus the value range, which is enough for an agent to identify the operation. It does not explicitly separate itself from the similarly-purposed sibling media_set_clip_rating, but the resource noun 'photo' does most of that work.

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 guidance on when to use this versus alternatives (e.g. media_set_clip_rating for clips) and no mention of preconditions such as the photo needing to exist or be in the current album. The agent must infer all usage context.

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

Deploy Server

Other Tools