Skip to main content
Glama

Find scene cuts

detect_scenes
Read-only

Shot changes in a video, as source seconds (offline).

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": {
      "project": "<project>",
      "media": "<media>",
      "context": "<context>"
    },
    "name": "detect_scenes"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaYesMedia id or file name as shown in the timeline.tsx header
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
projectYesProject id or exact name
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
thresholdNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "project",
      -  "media"
      -]New value: +[
      +  "project",
      +  "media",
      +  "context"
      +]
  2. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered by structured data. The description adds two genuinely useful facts beyond that: results are expressed in source seconds (not timeline seconds) and the computation is 'offline'. However, 'offline' is unexplained — an agent cannot tell whether this is a slow local analysis, a queued job, or a render-free pass — and nothing is said about cost, latency, or result granularity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single eight-word fragment with no waste, so it is concise and front-loaded. But the terseness crosses into under-specification: the parenthetical '(offline)' is cryptic and carries meaning the rest of the description never supports.

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

Completeness2/5

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

For a tool with five substantive parameters, three of them required, and no output schema, the description is far too thin. It does not explain the return shape (a list of cut timestamps? a count?), what units/spacing to expect, or how 'threshold' affects results, leaving the agent unable to predict or interpret the call.

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 description coverage is 83%, so most parameters are already documented and the baseline of 3 applies. The one semantically important knob, 'threshold' (0-1), has no description in either the schema or the description, so the agent gets no guidance on what raising or lowering it does to detected cut count. The description adds nothing further about parameters.

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

Purpose3/5

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

The fragment 'Shot changes in a video, as source seconds (offline)' identifies the resource (shot/scene cuts in video) and the coordinate frame of the result, which lets an agent infer detection. But it is a noun phrase rather than a verb+resource statement, and 'offline' is left undefined (offline relative to what — rendering? the timeline?). It also never contrasts with the close sibling detect_silence, so the action and its boundary stay implicit.

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 when-to-use guidance, no preconditions, and no mention of when a different tool (e.g. detect_silence, filmstrip, grab_frame) would be the better choice. The only hint of applicability is that it concerns video, which is restated purpose rather than guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources