Skip to main content
Glama

Check Textures

check_textures
Read-onlyIdempotent

Run the Textures check rules on files you wrote (the Texture's files and the host CSS): easing family, duration scale, reduced motion, focus parity, animatable properties, host sizing. Returns findings with a fix each; iterate until ok.

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": {
      "files": "<files>"
    },
    "name": "check_textures"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoThe Texture's slug: its catalog manifest (touch, fit, reduced motion) is read for you. Omit for hover code that is not a Texture.
hostNoWhat the host gives the Texture: its CSS and, if known, its box in px.
filesYesThe Texture's files as written into the project (.tsx, .ts, .js, .css, .html).
manifestNoA texture.json as an object, when you have one and give no ref.
style_lockNoThe project's textures.json as an object, when present.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the return contract (findings each with a fix) and the intended iterative retry pattern, which is important given there is no output schema. It stops short of describing failure modes or limits on iteration.

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?

Two sentences, front-loaded with the action and scope, then the return/iteration behavior. The parenthetical rule list is dense but each item is meaningful, and there is no filler wording.

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 read-only validation tool with a rich nested schema and no output schema, the description adequately conveys what goes in and the shape of what comes back (findings plus fixes) and what to do with them. Only edge cases such as invalid inputs or how many findings to expect are left unstated.

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 description coverage is 100% and the five parameters (ref, host, files, manifest, style_lock) each carry explicit schema documentation, so the schema does the heavy lifting. The description only loosely restates that inputs are the Texture's files and host CSS, adding little beyond what the schema already explains.

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 ("Run the Textures check rules on files you wrote") and enumerates the exact rule families covered: easing family, duration scale, reduced motion, focus parity, animatable properties, host sizing. That level of specificity clearly separates it from the sibling retrieval tools like get_texture and get_guidelines.

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 clear usage context — run it against the files you wrote plus the host CSS — and describes the working loop ("iterate until ok"). It does not name an explicit alternative or state when not to use it, but no sibling appears to overlap with this check behavior.

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.