Skip to main content
Glama

Validate References

validate_references
Read-only

Validate Unity ObjectReference fields under a scene path, reporting broken or missing references with error counts. Use depth and verbose options for targeted checks.

Instructions

Validate all ObjectReference fields under path recursively. Returns [ERROR]/[MISSING] for broken refs. Summary: "N ERROR, M OK". Use depth=1 for quick top-level scan, depth=3-5 for full subtree. verbose=True also shows [OK] lines (off by default to save tokens). ignore_optional=True skips fields marked [Optional] (reduces noise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesScene path to target GameObject (e.g. /Parent/Child)
depthNoMaximum hierarchy depth to traverse
verboseNo
ignore_optionalNo
Behavior5/5

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

The description goes beyond the readOnlyHint annotation by detailing the return format ([ERROR]/[MISSING], summary line), explaining the effect of verbose and ignore_optional, and noting token savings. This provides substantial behavioral context.

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 compact and front-loaded: it states the core function first, then the output format, then practical parameter advice. Every sentence adds value.

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?

Given the tool's moderate complexity, the description covers the main purpose, output format, and parameter behavior. No output schema exists, but the description's mention of return format fills that gap. Combined with the readOnly annotation, the description is sufficient for correct usage.

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 schema only describes path and depth, leaving verbose and ignore_optional undocumented. The description adds meaningful explanations for these parameters and offers depth usage guidance, compensating for the 50% schema coverage.

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 the tool's function: validating ObjectReference fields under a path recursively. It uses a specific verb and resource, and differentiates from siblings by focusing on ObjectReference validation and providing output format.

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 parameter-specific usage guidance (depth recommendations, verbose usage, ignore_optional behavior). However, it does not explicitly mention alternatives or when not to use this tool, so it stops short of full guidance.

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/german-krasnikov/unity-biome-mcp'

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