Skip to main content
Glama

Installed three.js version

three_version
Read-onlyIdempotent

Detect the installed three.js release and its location in a project, read-only, so agents can check code against the exact version.

Instructions

Which three.js release the project has installed (such as r187), and where. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
pathNoProject folder, or a file or folder in it (relative to the server's folder; default: the project).
threeNoPath to a three package folder, when it is not in node_modules above the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the description's 'Read-only' adds nothing new. The one piece of extra information is that the result includes a location, not just a version string, which mildly helps an agent interpret output. It does not say what happens when three.js is absent or how deep the lookup walks.

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 tight sentences with the core fact front-loaded; nothing is padded. The trailing 'Read-only' duplicates the annotation rather than earning its place, a small but real redundancy.

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 simple, fully annotated read-only lookup with 100% schema coverage and no output schema, the description covers what the tool returns and roughly how it locates it. Only the failure case (three.js not installed) is unaddressed, which is a minor gap.

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%, so both the path and three parameters are already documented in the schema, and the description adds no syntax or resolution rules beyond them. With a fully described 2-parameter schema, the baseline of 3 applies.

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?

The description names a concrete resource and attribute: the installed three.js release, e.g. r187, plus where it was found. That is enough for an agent to know exactly what question this tool answers. It stops short of differentiating itself from siblings such as three_check or three_inspect, which might also report environment facts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to call this versus the many sibling diagnostic tools (three_check, three_doctor, three_scan, three_inspect), and no statement of preconditions such as a project being present. The single word 'Read-only' only implies safe usage rather than saying when to prefer this tool.

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