Skip to main content
Glama
playcanvas

PlayCanvas Editor MCP Server

Official
by playcanvas

prefilter_cubemap

DestructiveIdempotent

Generate runtime lighting data for a cubemap to enable real-time reflections and ambient lighting in 3D scenes.

Instructions

Generate runtime lighting data for a cubemap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
legacyNoGenerate the compatibility DDS format for older engines
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is known. The description adds no behavioral context such as what data gets overwritten or whether the operation modifies the asset in place. Since annotations cover the main traits, the lack of additional context is acceptable but not additive.

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?

The description is one short sentence with no filler or repetition. It is front-loaded with the core purpose. However, it is almost too sparse, sacrificing useful context for brevity, so it is not a perfect 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a required integer id, a destructive hint, and no output schema, the description is under-specified. It does not clarify what the id refers to, what happens to existing prefilter data, or what a successful invocation returns. Given the rich sibling list, this description leaves important operational gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50% because the required 'id' parameter lacks a schema description. The tool description says 'a cubemap' but never explicitly states that 'id' identifies the cubemap asset. The 'legacy' parameter is documented in the schema, but the description does not compensate for the undocumented required argument.

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 states a clear verb and resource: 'Generate runtime lighting data for a cubemap.' It distinguishes the operation from related siblings such as create_cubemap_from_texture and clear_cubemap_prefilter by focusing on the prefiltering step. However, it does not explicitly contrast against those siblings, so it stops short of a perfect 5.

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?

No guidance is given about when to use this tool versus alternatives. Siblings like clear_cubemap_prefilter, create_cubemap_from_texture, and convert_texture_asset imply related workflows, but the description neither mentions them nor states conditions for choosing prefilter_cubemap. The agent is left to infer usage context.

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

Install Server

Other Tools

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/playcanvas/editor-mcp-server'

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