Skip to main content
Glama

Get Source Monitor state

get_source_monitor_state
Read-onlyIdempotent

Report whether a clip is loaded in the Source Monitor, including its item ID, name, media path, and playhead position in seconds; returns nulls when the monitor is empty.

Instructions

Report what the Source Monitor shows: whether a clip is loaded, its item (item_id, name, media path; item_id is null and in_project false for a file opened straight from disk) and the Source Monitor playhead position in seconds (null when empty).

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_source_monitor_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and non-open-world, so the safety profile is covered. The description adds genuine behavioral context beyond that: it explains the empty-state behavior (playhead null when empty) and the nuanced case where a file opened straight from disk yields item_id null with in_project false, which an agent could not infer from annotations or an empty schema. It stops short of describing error behavior or response structure beyond field names.

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?

One sentence, front-loaded with the action and then the returned fields, with zero filler. The nested parentheticals make it slightly dense to parse on first read, but every clause carries real information about the returned value.

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 and no parameters, the description must carry the return-value burden, and it does: it names the loaded/empty state, the three item fields, the playhead units (seconds), and the null cases. It is close to complete for a simple state getter; only failure modes and any additional fields returned are unstated.

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?

The tool takes zero parameters, so there is no schema-level parameter meaning to supplement. The description correctly adds nothing spurious about inputs and instead spends its words on output semantics, which is the right allocation for a no-arg getter.

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 opens with a specific verb and resource: 'Report what the Source Monitor shows,' then enumerates the exact state returned (loaded clip, item_id, name, media path, playhead in seconds). That is far more precise than a generic 'get state' tool and is distinguishable from panel-mutating siblings like open_in_source_monitor or close_source_monitor_clip, though it never names those siblings explicitly.

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?

Usage is only implied: an agent can infer this is the read-only inspection call for the Source Monitor panel, which contrasts naturally with the open/close/play siblings. There is no explicit when-to-use statement, no exclusion of alternatives such as get_clip_source_info, and no prerequisites (e.g. whether a project must be open).

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