Skip to main content
Glama

validate_world_experience

Read-onlyIdempotent

Validate a complete experience definition and optional custom interface code without saving or starting paid generation. Input types: text, vote, voice, image, click, game. Declare interface.handledInputBindingIds for custom controls; uncovered inputs retain standard controls. Overlay regions use {x,y,width,height} fractions within the stage. New Genesis controls use window.Genesis.action(actionId,data) and actions.get(id).canSubmit. Custom controllers use function onEvent(context). Read get_genesis_sdk for the exact contract and examples. Use the existing definition contract from get_world_experience or list_world_experiences. Return diagnostics and normalized settings.

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

Input Schema

NameRequiredDescriptionDefault
projectNo
definitionNo
interfaceFilesNo
interfaceAssetsNo
interfaceSourceNo
previewImageUrlNo
controllerSourceNo
interfaceEntryPointNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / interfaceAssets / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / interfaceFiles / items / additionalProperties
      Removed value: -false
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world profile, so safety is covered. The description adds genuinely new behavior: no persistence, no billable generation, and a defined return of 'diagnostics and normalized settings'. It stops short of describing diagnostic severity or whether normalization mutates the caller's definition, which would have earned a 5.

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 non-effects clause is front-loaded and the remaining sentences are dense, domain-specific and largely non-redundant. It is long, but nearly all of it is contract detail that has nowhere else to live given 0% schema coverage.

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?

For an 8-parameter, fully undocumented schema with no output schema, the description covers the domain contract well but not completely. Four parameters and the shape/content of the returned diagnostics remain unaddressed, which is a real gap for a validation tool whose entire output is the diagnostic payload.

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 0% across 8 parameters, with 'project' and 'definition' left as bare untyped properties, so the description must carry the load. It explains the meaningful semantics for several of them (input type list, interface.handledInputBindingIds, overlay {x,y,width,height} stage fractions, Genesis action API, controller onEvent signature), but leaves previewImageUrl, interfaceAssets, interfaceEntryPoint and interfaceSource essentially unexplained.

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 first sentence names a specific verb (validate), a specific resource (a complete experience definition plus optional custom interface code), and explicit non-effects (no saving, no paid generation). That scope statement alone separates it from save_world_experience and from the code-workspace/site validators in the sibling list.

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?

'Use the existing definition contract from get_world_experience or list_world_experiences' and 'Read get_genesis_sdk for the exact contract and examples' give concrete prerequisite routing to two named siblings. What is missing is an explicit when-not-to-use case (e.g. validate_hosted_world_site vs validate_world_code_workspace), so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.