Skip to main content
Glama

sample-values

Samples evaluated (post-expression) property values at given times to numerically verify motion curves, contacts, and arcs.

Instructions

Sample the evaluated (post-expression) value of a property at given times — to verify motion curves, contacts and arcs numerically.

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": {
      "comp": "<comp>",
      "layer": "<layer>",
      "property": "<property>",
      "times": "<times>"
    },
    "name": "sample-values"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYes
layerYes
timesYes
propertyYes
preExpressionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It conveys that sampling returns expression-evaluated values, but says nothing about whether the call is read-only, how the property/layer/comp are resolved (name vs id), whether it errors on missing properties, or what the returned samples look like. That is thin for a 5-parameter tool with zero structured safety signals.

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?

A single tight sentence with the action and the distinguishing qualifier front-loaded. No redundant or filler wording; the em-dash clause earns its place by explaining the verification use case.

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?

With five undocumented parameters, no annotations, and no output schema, the description should explain parameter resolution and the shape of the sampled values. Instead it explains only the concept of post-expression sampling, leaving an agent unable to call the tool correctly without guessing at comp/layer/property formats.

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% across five parameters, and the description only indirectly illuminates two of them ('property', 'times', and the post-expression semantics that hint at preExpression). It adds no meaning for 'comp' or 'layer' — not whether they are names, ids, or indices — so it fails to compensate for the coverage gap.

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: 'Sample the evaluated (post-expression) value of a property at given times.' The parenthetical clarifies the key distinction (values after expression evaluation, not raw keyframes), which is meaningful next to get-keyframes. It never names a sibling to differentiate against, so it stops short of a 5.

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?

The clause 'to verify motion curves, contacts and arcs numerically' gives a rationale/context for use, but there is no explicit guidance on when to choose this over get-keyframes or motion-check, and no exclusions or prerequisites. Usage is implied rather than directed.

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