Skip to main content
Glama

prepare_hosted_world_asset

Optimize an uploaded or completed generated workspace asset for a hosted world. Pins original bytes, creates WebP/AVIF delivery sizes and returns the full asset manifest entry. Reuse this entry in site assets. Does not generate paid media or publish. Use panorama=true for 360-degree textures.

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>",
      "worldId": "<worldId>",
      "path": "<path>"
    },
    "name": "prepare_hosted_world_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
mediaIdNo
worldIdYes
panoramaNo
storagePathNo
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / mediaId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / mediaId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / mediaId / type
      Added value: +"string"
    • removedInput schema / properties / worldId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / worldId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / worldId / type
      Added value: +"string"
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it pins original bytes (originals are preserved, not overwritten), derives WebP/AVIF delivery sizes, and returns the full manifest entry to be reused downstream. Those details tell the agent the call is a non-destructive derivation, which the bare destructiveHint=false annotation does not convey, although it says nothing about repeat-call behavior despite idempotentHint=false.

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?

Four short sentences, front-loaded with the action and outcome, then the reuse instruction, then the exclusions, then the parameter hint. No sentence is redundant or restates the tool name.

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?

Good on outcomes (it explicitly describes the returned manifest entry, so the absent output schema is partly compensated) and on side effects. However, for a six-parameter mutation with zero schema coverage, the definition leaves the core input-addressing model and idempotency/duplicate-preparation behavior undefined.

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 0%, so the description must carry parameter meaning, yet it only explains panorama. The crucial distinction among path, storagePath, and mediaId as alternative ways to identify the input asset is left completely unexplained, as are the workspaceId/worldId scoping parameters.

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?

Names a specific verb (Optimize) and precise resource (an uploaded or completed generated workspace asset) plus the target (hosted world), and states what the call produces: delivery sizes and a manifest entry. The explicit exclusions ('Does not generate paid media or publish') separate it from create_asset and publication-related siblings without needing to name them.

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 clear usage context: call it on already-uploaded or already-generated assets, and reuse the returned entry in site assets, plus a conditional trigger 'Use panorama=true for 360-degree textures'. It sets negative boundaries (no paid media, no publishing) but never names the alternative tool an agent should pick for those cases.

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.