Skip to main content
Glama

sample_property

Captures a property’s value over time as a {time,frame,value} series to verify expression-driven motion numerically without rendering pixels.

Instructions

Sample a property's VALUE over time (post-expression) as a {time,frame,value} series. Verify expression-driven motion — counters, wiggle, slider-driven box growth — numerically without rendering pixels. Defaults to the layer in→out range at 1-frame steps; pass step (seconds) or frames (sample count). Capped at 500 samples.

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": {
      "layer": "<layer>",
      "prop": "<prop>"
    },
    "name": "sample_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name, numeric id, or { id: N } for duplicate-name-safe stable-id addressing.
propYes
stepNoseconds between samples
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
framesNonumber of samples across the range
endTimeNo
endFrameNo
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
startTimeNo
startFrameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose important traits: evaluation happens post-expression, the default range is the layer in→out at 1-frame steps, and results are capped at 500 samples. It does not say what happens at the cap (truncate vs error), how conflicting range parameters resolve, or what occurs if the property doesn't exist or has no expression.

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?

Four tight sentences, front-loaded with purpose and return shape, then usage rationale, then defaults and the cap. No filler or repetition of schema content.

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?

For a 10-parameter tool with no annotations and no output schema, the description does substantial work: it defines the return series shape, the default sampling range and cadence, and the 500-sample cap. Gaps remain around error/limit behavior and how overlapping time/frame bounds interact, which matters given five undocumented bounds-related parameters.

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 50%, and the description adds meaning for two of the ten parameters (step is in seconds, frames is a sample count) plus the default range behavior. The required prop parameter and the four startTime/endTime/startFrame/endFrame bounds parameters are left entirely to the schema, and no precedence rules between them are given.

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

Purpose5/5

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

States a specific verb and resource (sample a property's VALUE over time) and pins down the exact return shape as a {time,frame,value} series, which clearly separates it from single-value reads like lookup_property and from mutations like set_property. The 'post-expression' qualifier tells the agent it gets evaluated results, not keyframe data.

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?

Gives a concrete when-to-use rationale: verify expression-driven motion numerically without rendering pixels, with example scenarios (counters, wiggle, slider-driven box growth). It also explains how to choose between the step and frames alternatives, but never states when not to use it or names a sibling tool explicitly.

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