Skip to main content
Glama

lint

Read-onlyIdempotent

Validates scene data and light/dark render rules for compositions or assets—tokens, timing, safe areas, overflow, overlap, contrast—and returns a fix hint for each issue.

Instructions

Scene lint for a composition or an asset: data rules (tokens, timeline, beat grid, springs settling, dead holds, reading time) and, unless render=false, render rules in light and dark (safe area, overflow, overlap, contrast). Every issue carries a fix hint.

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": "lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage to show (e.g. en). Default: the source language the documents are written in; others come from locales/<lang>.json
assetNoAsset name (file in assets/ without .json)
renderNo
compositionNoComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/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 the safety profile is covered. The description adds genuinely new behavior: render-rule evaluation is conditional on the render flag, and every reported issue is accompanied by a fix hint, which shapes how the agent should consume results. It stops short of describing error handling when neither asset nor composition is supplied.

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 front-loaded sentence establishes the target, then the rule categories, then the render conditional, closing with the fix-hint guarantee — no filler. The double parenthetical enumeration is dense but each item is informative rather than redundant.

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 four-parameter, read-only validation tool with annotations and no output schema, the definition covers what is checked, when render rules are skipped, and what each result carries. Slightly thin on how the asset/composition arguments interact if both are given, but nothing essential to a correct call is missing.

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 75%, with lang, asset and composition well documented in the schema itself. The one under-documented parameter, render (bare default: true, no schema description), is explained by 'unless render=false, render rules ... are included', so the description fills exactly the gap the schema leaves. Baseline 3 is appropriate since the description adds meaning only for that single flag.

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 — 'Scene lint for a composition or an asset' — and enumerates the concrete rule families it checks (tokens, timeline, beat grid, springs settling, dead holds, reading time; safe area, overflow, overlap, contrast). An agent can distinguish it from the sibling 'render' tool because the definition explains linting runs alongside rendering rather than replacing it.

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 implied rather than stated: the reader infers this is the validation step for a composition or asset before/after rendering. The only conditional guidance is 'unless render=false', which is about scope of work rather than when to pick this tool over alternatives like 'render' or 'check_lint_rule'. No explicit when-not or preferred-alternative routing is provided.

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