Skip to main content
Glama
apowers313

@graphty/babylonjs-inspector-mcp

by apowers313

babylonjs_scene_evaluate

Run custom JavaScript functions on a live BabylonJS scene to query or manipulate objects, with results serialized to JSON.

Instructions

Execute a JavaScript function against the BabylonJS scene. The function receives (scene, engine, BABYLON) as arguments. Return values are serialized to JSON. Use this for custom queries or operations not covered by other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
functionYesJavaScript function body. The function receives (scene, engine, BABYLON) as arguments. Example: '(scene) => scene.meshes.map(m => ({name: m.name, pos: m.position.asArray()}))'

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal that arbitrary JavaScript is executed against the scene and that return values are JSON-serialized, which is important. However, it does not mention potential side effects, mutation of the scene, error behavior, security implications, or asynchronous execution, all of which are significant for a code-evaluation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences with no wasted words. It front-loads the action, then covers arguments, return behavior, and intended use. Every sentence earns its place and the structure helps an agent quickly parse the tool's purpose.

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?

The description covers the essentials for a basic call: the function body, input arguments, and JSON return. However, for a tool that executes arbitrary JavaScript, important context is missing—such as whether scene changes persist, what happens on exceptions, and any timeout or safety constraints. Given no output schema and no annotations, this is a noticeable 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%, and the schema already documents the 'function' parameter with a detailed example. The tool description repeats the function signature (scene, engine, BABYLON) without adding new information about parameter format or constraints. This meets the baseline for full schema coverage but provides no extra semantic value.

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?

The description opens with a specific verb and resource: 'Execute a JavaScript function against the BabylonJS scene.' It clearly states what the tool does, names the arguments passed to the function, and explains the return serialization. It also distinguishes itself from sibling inspection/capture tools by positioning itself for 'custom queries or operations not covered by other tools.'

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?

The description gives an explicit usage condition: 'Use this for custom queries or operations not covered by other tools.' This tells an agent when this escape-hatch tool is appropriate, though it does not name the sibling alternatives or explicitly say when not to use it. That slight lack of specificity keeps it from a 5.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/apowers313/babylonjs-inspector-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server