Skip to main content
Glama

inspect_world_code_workspace

Read-onlyIdempotent

Render the actual staged Genesis app at desktop or mobile size. Returns image pixels, accessible controls, public state, console errors, overflow and hit-target diagnostics. Execute bounded click/fill/key interactions or controller actions as preview players. Use observed names/selectors, not invented controls. Inspect then replay a scenario with steps; each call starts fresh. Fixtures are explicit simulated tool results, never paid generation. For scene.request/image.request fixtures supply provider fields, with imageUrl:fixture://image and videoUrl:fixture://video for built-in simulated media; tool.* fixtures supply structured data. Assertions check public state or visible controls. Fix failures and repeat only affected checks. No database, publication or paid-media effects.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceId": "<workspaceId>",
      "codeWorkspaceId": "<codeWorkspaceId>",
      "viewport": "<viewport>"
    },
    "name": "inspect_world_code_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNo
fixturesNo
viewportYes
assertionsNo
workspaceIdYes
codeWorkspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / assertions / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / assertions / items / properties / name / $ref
      Removed value: -"#/properties/steps/items/properties/name"
    • addedInput schema / properties / assertions / items / properties / name / maxLength
      Added value: +160
    • addedInput schema / properties / assertions / items / properties / name / type
      Added value: +"string"
    • removedInput schema / properties / assertions / items / properties / role / $ref
      Removed value: -"#/properties/steps/items/properties/role"
    • addedInput schema / properties / assertions / items / properties / role / enum
      Added value: +[
      +  "button",
      +  "link",
      +  "textbox",
      +  "checkbox",
      +  "radio",
      +  "combobox",
      +  "tab"
      +]
    • addedInput schema / properties / assertions / items / properties / role / type
      Added value: +"string"
    • removedInput schema / properties / assertions / items / properties / scope / $ref
      Removed value: -"#/properties/steps/items/properties/scope"
    • addedInput schema / properties / assertions / items / properties / scope / enum
      Added value: +[
      +  "interface",
      +  "host"
      +]
    • addedInput schema / properties / assertions / items / properties / scope / type
      Added value: +"string"
    • removedInput schema / properties / assertions / items / properties / selector / $ref
      Removed value: -"#/properties/steps/items/properties/selector"
    • addedInput schema / properties / assertions / items / properties / selector / maxLength
      Added value: +180
    • addedInput schema / properties / assertions / items / properties / selector / type
      Added value: +"string"
    • removedInput schema / properties / codeWorkspaceId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / codeWorkspaceId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / codeWorkspaceId / type
      Added value: +"string"
    • removedInput schema / properties / fixtures / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / fixtures / items / properties / data / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / steps / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / steps / items / properties / data / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / steps / items / properties / revision / maximum
      Added value: +9007199254740991
  2. Changed2 schema fields changed
    • addedInput schema / properties / steps / items / properties / milliseconds / description
      Added value: +"tick advances simulated timers by up to 120000 ms; wait pauses at most 1000 ms"
    • changedInput schema / properties / steps / items / properties / milliseconds / maximum
      Previous value: -1000New value: +120000
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value by disclosing the return payload (image pixels, accessible controls, public state, console errors, overflow and hit-target diagnostics), the fresh-start semantics of each call, and the explicit absence of database, publication or paid-media effects, which is consistent with the annotations.

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 rendering purpose and return payload are front-loaded, and nearly every sentence adds distinct information about fixtures, assertions or replay behavior. The middle section is dense and reads as a run-on, but there is little padding or repetition.

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

Completeness4/5

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

For a six-parameter tool with nested step/assertion/fixture arrays, no output schema and no schema descriptions, the definition supplies the return content, the fixture conventions, the assertion semantics and the no-side-effect guarantee. Remaining gaps are the individual step-type meanings and the workspace id parameters.

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%, so the description must carry parameter meaning. It does explain fixtures well (scene.request/image.request need provider fields with fixture:// URLs; tool.* fixtures supply structured data) and defines assertions as checking public state or visible controls, but it leaves many step subtypes (actor, players, tick, playback, wait), expectError and revision, and the workspace identifiers 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?

States a specific verb and resource: render the staged Genesis app at desktop or mobile size, returning pixels plus diagnostics. That is clearly distinguishable from save_world_code_workspace, validate_world_code_workspace and get_world_code_workspace, so an agent can identify it from the name plus first sentence alone.

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?

Gives actionable usage rules: use observed names/selectors rather than invented controls, inspect then replay a scenario with steps, and fix failures by repeating only affected checks. What is missing is an explicit statement of when to prefer this over sibling inspectors such as inspect_edit_frame or inspect_hosted_world_site; the guidance is clear but not comparative.

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.