Skip to main content
Glama
niknarra

x3d-mcp

by niknarra

x3d_parse_scene

Parses X3D files or XML strings and displays the scene graph as an indented tree, showing each node's DEF name and key attributes to reveal the scene hierarchy.

Instructions

Parse X3D content and display the scene graph as an indented tree.

Shows every node in the scene hierarchy with its DEF name (if any) and
key attribute values. Use this to understand the structure of an existing
X3D scene before modifying or analyzing it.

Args:
    x3d_source: Either an absolute file path to a .x3d file, or a complete
                X3D XML document string. The tool auto-detects which.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x3d_sourceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It explains the output (indented tree), what is shown (every node, DEF names, key attributes), and auto-detection of input type. This adds meaningful context, though it omits error handling or potential limitations.

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 well-structured with a clear opening sentence, a usage hint, and an Args section. It is slightly verbose but each sentence adds value. No redundant filler, though it could be tightened without losing clarity.

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

Completeness5/5

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

For a single-parameter parse tool, the description fully covers what it does, when to use it, and what to expect. The output schema likely handles return-value details, so the description can focus on purpose and parameter semantics. It is complete for the tool's simplicity.

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

Parameters5/5

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

The input schema only defines the parameter name and type with no description. The tool description fully compensates by explaining that x3d_source can be a file path or XML document string and that the tool auto-detects which. This is complete and adds significant value beyond the schema.

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 clearly states that the tool parses X3D content and displays the scene graph as an indented tree, mentioning every node with DEF names and key attributes. This specific verb and resource distinguish it from sibling tools like search or validation.

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 provides clear guidance on when to use it: to understand the structure of an existing X3D scene before modifying or analyzing it. It does not explicitly name alternative tools or state when not to use it, but the context is strong enough for correct selection.

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/niknarra/x3d-mcp'

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