Skip to main content
Glama

Measure pixel changes in a video region

measure_region_motion
Read-onlyIdempotent

Produce one-second pixel-change measurements in a caller-selected fixed rectangle over 1–30 seconds, for manual review of suspected still backgrounds or other motion. Camera movement, cuts, lighting and occlusion can create or conceal change; this is not object tracking or a verdict about natural motion. No result approves a paid retry.

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": {
      "region": "<region>"
    },
    "name": "measure_region_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionYes
fromSecondsNo
renderVideoUrlNo
durationSecondsNo
videoAttachmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), so the description earns credit for adding what they cannot: confounders like camera movement, cuts, lighting and occlusion that can both create and conceal change, plus the governance note that a result never authorizes a paid retry. It does not describe the shape or units of returned measurements, but the caveats it does supply are substantive.

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?

Three sentences, each doing distinct work: what it produces and for what purpose, what can distort that signal, and what it must not be used to authorize. The core capability is front-loaded in the first sentence with zero filler.

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?

There is no output schema, so the description is the only guide to results, yet it never says whether measurements come back as a time series, a summary, or per-second values — only that they are one-second granularity. Combined with two unexplained input-source parameters, an agent can understand the tool's purpose but not fully predict how to call it or what to expect back.

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 description coverage is 0%, so the description carries the full burden and only partly discharges it: it conveys the rectangle concept and the 1–30 second duration window, matching the durationSeconds bounds. It is silent on the most confusing parts of the schema — normalized 0–1 coordinates, what fromSeconds offsets, and above all how videoAttachment and renderVideoUrl relate as two competing input sources.

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 verb and resource: produce one-second pixel-change measurements inside a caller-selected fixed rectangle over 1–30 seconds. The negative framing ("not object tracking or a verdict about natural motion") draws a clean boundary against adjacent tool classes, though without naming the actual sibling checks it leaves the agent to infer which alternative to pick.

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

Usage Guidelines4/5

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

"For manual review of suspected still backgrounds or other motion" gives a clear use condition, and the explicit exclusions (not object tracking, not a verdict on natural motion, no result approves a paid retry) tell the agent when not to rely on it. It stops short of pointing at a specific alternative, e.g. a full-frame freeze check for whole-image questions, so the routing is clear in kind but not in target.

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.