Skip to main content
Glama

features

Read-onlyIdempotent

Measure animation timing, text, color, layout, and composition attributes for an element or full composition, enabling checks on contrast, alignment, and visual balance.

Instructions

What can be measured about an element (or every element of a composition nested in this one): its entrance (preset, time, time after the cut, spring, overshoot, settle, peak speed, distance), text (size at 1080p, length, split, stagger, typing rate), blur peak, press, its colour (color.: OKLCH lightness, chroma, hue and family, distance from the brand colours, a text's contrast against what is behind it) and place (layout.: distance to the frame edge and to its nearest neighbour, how far off the nearest alignment line, area), and the composition it is in (transition in and out, length, background, hue families, strongest chroma, fill, visual balance, margin, type scale). Taste rules and cases speak in these names; list_features explains the colour and layout ones.

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": {
      "composition": "<composition>"
    },
    "name": "features"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementNoAn element or nested composition id: limit to its time
compositionYesComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.2
    • addedInput schema / properties / element
      Added value: +{
      +  "description": "An element or nested composition id: limit to its time",
      +  "type": "string"
      +}
    • removedInput schema / properties / layer
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / scene
      Removed value: -{
      -  "description": "Scene id: limit to that scene",
      -  "type": "string"
      -}
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real context beyond them: the measurement domains, the units/conventions (size at 1080p, OKLCH lightness/chroma/hue, distance to frame edge and nearest neighbour), and that element scopes results to its time. It does not describe output structure or how many features come back.

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?

It is a single very long sentence built from nested parenthetical lists, which makes it hard to scan and buries the one routing hint (list_features) at the end. The content is dense but largely earns its place as a feature inventory; the structure, not the length, is the problem.

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?

With no output schema, the description carries the burden of explaining what comes back, and it only implies this through a list of measurable dimensions rather than stating the return shape or units per field. For a read-only inspection tool with two well-documented parameters this is adequate but leaves the agent guessing at the response.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning: passing an element restricts to that element's time, while omitting it yields every element of a nested composition, and the composition parameter is the scope for the aggregate measurements (transition, background, type scale, visual balance). That is semantics the schema strings do not carry.

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 description enumerates the measurable domains (entrance, text, blur, press, colour, place, composition) in detail, so the resource is clear. But it never states a verb or return shape: an agent cannot tell whether the tool returns measured values for the given element/composition or merely a catalog of feature names, and only the closing clause hints at the distinction from list_features.

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?

It gives implied usage — 'Taste rules and cases speak in these names' suggests using this to resolve the vocabulary those tools reference — and routes explanation of colour/layout features to list_features. There is no explicit when-to-use/when-not statement and no statement of what happens if element is omitted beyond the parenthetical 'every element of a composition nested in this one'.

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