Skip to main content
Glama

Score a model for three.js

three_model_lint
Read-onlyIdempotent

Scores .glb and .gltf models for web use: checks geometry, materials, draw calls, texture memory, unsupported extensions, and size, and verifies archetypes like cars match expected parts and orientation.

Instructions

Score a .glb or .gltf for the web: geometry (normals, winding, degenerate triangles), materials, performance (triangles, draw calls, texture memory against web budgets), loading (extensions three.js does not support, decoders needed), size and origin; with archetype (an id or a name such as 'car' or 'helikopter') also whether it is what it should be: parts, pivots, wheel axes, size, direction. Read-only.

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": {
      "file": "<file>"
    },
    "name": "three_model_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes.glb or .gltf file (relative to the project)
pathNoProject folder, or a file or folder in it (relative to the server's folder; default: the project).
detailNobrief (capped, short) or full (everything); default brief
archetypeNo
max_trianglesNo
max_draw_callsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so "Read-only" in the description is largely redundant. The description does add real behavior beyond the annotations: the specific check families performed, that budgets are evaluated (draw calls, texture memory), and that passing archetype unlocks semantic validation (parts, pivots, wheel axes, direction). It says nothing about what a "score" looks like in the response or what thresholds imply pass/fail, which matters because there is no output schema.

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?

Front-loaded with the verb and target format, then layered into check categories in a logical order with the conditional archetype behavior placed after the always-on checks. Every clause carries information and nothing is filler. It is one dense, semicolon-heavy sentence, which costs some scannability but not content.

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 six parameters, no output schema and a rich check inventory, the description covers the analysis surface well but leaves gaps an agent would want: the two budget threshold parameters are unaddressed, and the shape of the returned score/report is undefined (the brief/full distinction hints at verbosity but not structure). Safety semantics are already handled by annotations, so for a read-only tool this is adequate rather than complete.

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 only 50%, so the description needs to compensate. It does well for archetype, explaining it accepts an id or a name like 'car' or 'helikopter' and describing the extra checks it triggers, which the bare schema type string does not convey. It never mentions max_triangles or max_draw_calls, leaving two undocumented numeric budget parameters for the agent to guess at, though file, path and detail are already documented in the schema.

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 ("Score") and resource (".glb or .gltf") and enumerates the exact check categories: geometry, materials, performance budgets, loading/extension support, size and origin, plus archetype-aware checks. An agent knows precisely what analysis it gets. It does not, however, differentiate itself from near-name siblings like three_model_inspect or three_model_brief, which likely also read a model.

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 phrase "for the web" and "against web budgets" signals this is the tool to use when validating a model against browser constraints, and the archetype clause signals when to pass that parameter. There is no explicit when-not guidance and no named alternative for a plain inspection, so the agent must infer routing among the many three_model_* siblings.

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