Skip to main content
Glama

Get platform-neutral interface scene

get_interface_scene
Read-onlyIdempotent

Export a platform-neutral reconstruct.scene.v1 interface: profiles, frames, node hierarchy, logical geometry, neutral layout constraints, text/paint, resource references, actions, transitions, motion and explicit evidence limitations. Returns a compact artifact manifest. Consume the JSON programmatically. CSS, DOM and Android classes are adapter inputs, not canonical layout. Request each saved view separately; never infer fixed sizing from measured bounds or successful interactions from a declared action. Native captures require a published scene; do not invent them.

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": {
      "product": "<product>",
      "version": "<version>",
      "page": "<page>",
      "view": "<view>"
    },
    "name": "get_interface_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesCaptured page key returned by list_pages or get_application_manifest, not a URL or filesystem path.
viewYesExact stored profile key from list_pages.views (desktop, mobile, numbered profiles or a device label); do not pass the operating system here.
productYesProduct key, for example finance-ozon-ru
versionYesExact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias.
environmentNoEnvironment ID from the selected backend platform type in list_platforms.options.platforms[].environments[].id (backend implementation). Omit only when the version has one captured environment. Use captured pairs from list_platforms/list_versions for actual availability.
includeSemanticsNoInclude validated page semantics in the exported artifact.

Output Schema

NameRequiredDescriptionDefault
uriYesuri
pageYespage
pathYespath
viewYesview
bytesYesbytes
issuesYes
schemaYesschema
sha256Yessha256
productYesproduct
versionYesversion
downloadNo
schemaUriYes
truncatedYesAt least one scene frame was truncated
assetCountYesassetCount
frameCountYes
issueCountYes
schemaPathYes
environmentYesenvironment
instructionYesinstruction
profileCountYes
schemaSha256Yes
artifactSchemaYes
issuesTruncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / includeSemantics
      Added value: +{
      +  "default": true,
      +  "description": "Include validated page semantics in the exported artifact.",
      +  "type": "boolean"
      +}
  2. Changed28 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "download": {
      +    "additionalProperties": true,
      +    "description": "Signed links for clients without the bearer token. Present on authenticated HTTP calls when signed downloads are enabled.",
      +    "properties": {
      +      "baseUrl": {
      +        "description": "Append any relative /mcp-transfers/ or /mcp-assets/ URI to this base",
      +        "type": "string"
      +      },
      +      "expiresAt": {
      +        "description": "ISO 8601 expiry of every link in this object",
      +        "type": "string"
      +      },
      +      "instruction": {
      +        "description": "How to use the links",
      +        "type": "string"
      +      },
      +      "schemaUrl": {
      +        "description": "Signed absolute URL of schemaUri",
      +        "type": "string"
      +      },
      +      "starterUrl": {
      +        "description": "Signed absolute URL of starterUri",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Signed absolute URL of uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "baseUrl",
      +      "expiresAt",
      +      "instruction"
      +    ],
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / description
      Previous value: -"Structured result. Existing text or image content remains available in content."New value: +"Manifest for a platform-neutral scene and archived resources"
    • addedOutput schema / properties / artifactSchema
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / assetCount
      Added value: +{
      +  "description": "assetCount",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / bytes
      Added value: +{
      +  "description": "bytes",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / download
      Added value: +{
      +  "$ref": "#/$defs/download"
      +}
    • addedOutput schema / properties / environment
      Added value: +{
      +  "description": "environment",
      +  "type": "string"
      +}
    • addedOutput schema / properties / frameCount
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / instruction
      Added value: +{
      +  "description": "instruction",
      +  "type": "string"
      +}
    • addedOutput schema / properties / issueCount
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / issues
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "frameId": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "nodeId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / issuesTruncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / page
      Added value: +{
      +  "description": "page",
      +  "type": "string"
      +}
    • addedOutput schema / properties / path
      Added value: +{
      +  "description": "path",
      +  "type": "string"
      +}
    • addedOutput schema / properties / product
      Added value: +{
      +  "description": "product",
      +  "type": "string"
      +}
    • addedOutput schema / properties / profileCount
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "description": "Manifest for a platform-neutral scene and archived resources",
      -  "properties": {
      -    "artifactSchema": {
      -      "type": "string"
      -    },
      -    "assetCount": {
      -      "description": "assetCount",
      -      "type": "integer"
      -    },
      -    "bytes": {
      -      "description": "bytes",
      -      "type": "integer"
      -    },
      -    "environment": {
      -      "description": "environment",
      -      "type": "string"
      -    },
      -    "frameCount": {
      -      "type": "integer"
      -    },
      -    "instruction": {
      -      "description": "instruction",
      -      "type": "string"
      -    },
      -    "issueCount": {
      -      "type": "integer"
      -    },
      -    "issues": {
      -      "items": {
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "frameId": {
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "nodeId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "issuesTruncated": {
      -      "type": "boolean"
      -    },
      -    "page": {
      -      "description": "page",
      -      "type": "string"
      -    },
      -    "path": {
      -      "description": "path",
      -      "type": "string"
      -    },
      -    "product": {
      -      "description": "product",
      -      "type": "string"
      -    },
      -    "profileCount": {
      -      "type": "integer"
      -    },
      -    "schema": {
      -      "description": "schema",
      -      "type": "string"
      -    },
      -    "schemaPath": {
      -      "type": "string"
      -    },
      -    "schemaSha256": {
      -      "type": "string"
      -    },
      -    "schemaUri": {
      -      "type": "string"
      -    },
      -    "sha256": {
      -      "description": "sha256",
      -      "type": "string"
      -    },
      -    "truncated": {
      -      "description": "At least one scene frame was truncated",
      -      "type": "boolean"
      -    },
      -    "uri": {
      -      "description": "uri",
      -      "type": "string"
      -    },
      -    "version": {
      -      "description": "version",
      -      "type": "string"
      -    },
      -    "view": {
      -      "description": "view",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "schema",
      -    "product",
      -    "version",
      -    "page",
      -    "view",
      -    "environment",
      -    "path",
      -    "uri",
      -    "sha256",
      -    "instruction",
      -    "bytes",
      -    "assetCount",
      -    "truncated",
      -    "issues",
      -    "frameCount",
      -    "profileCount",
      -    "artifactSchema",
      -    "schemaPath",
      -    "schemaUri",
      -    "schemaSha256",
      -    "issueCount",
      -    "issuesTruncated"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / schema
      Added value: +{
      +  "description": "schema",
      +  "type": "string"
      +}
    • addedOutput schema / properties / schemaPath
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / schemaSha256
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / schemaUri
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / sha256
      Added value: +{
      +  "description": "sha256",
      +  "type": "string"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "At least one scene frame was truncated",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / uri
      Added value: +{
      +  "description": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / version
      Added value: +{
      +  "description": "version",
      +  "type": "string"
      +}
    • addedOutput schema / properties / view
      Added value: +{
      +  "description": "view",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "schema",
      +  "product",
      +  "version",
      +  "page",
      +  "view",
      +  "environment",
      +  "path",
      +  "uri",
      +  "sha256",
      +  "instruction",
      +  "bytes",
      +  "assetCount",
      +  "truncated",
      +  "issues",
      +  "frameCount",
      +  "profileCount",
      +  "artifactSchema",
      +  "schemaPath",
      +  "schemaUri",
      +  "schemaSha256",
      +  "issueCount",
      +  "issuesTruncated"
      +]
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds substantive context beyond that: the return is a compact artifact manifest to be consumed programmatically, the artifact explicitly carries evidence limitations, and unavailable native captures must not be fabricated. It does not discuss payload size or pagination, which keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The artifact definition is front-loaded, which is correct. However, the second half collapses several distinct warnings (CSS/DOM caveat, per-view requests, no inferred sizing, no inferred interactions, published-scene requirement) into run-on sentences without structure, making it denser than it needs to be for a scan-and-act decision.

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?

With an output schema present, the description need not explain return values, and it correctly does not. Annotations cover the safety profile and schema coverage is complete, so remaining burden is light; the description handles the important caveats (published captures, adapter inputs, interpretation limits). The only unresolved gap is differentiating this tool from the closely related scene/page export siblings.

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?

Schema description coverage is 100% and the schema already explains every parameter, including the view/store-key distinction and the environment fallback rule, so the baseline is a 3. The description still adds meaning on top: 'Request each saved view separately' clarifies the granularity of the view parameter and 'pin the same version across related calls' is echoed by the consistency requirement on version. This is real semantic reinforcement rather than repetition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and artifact: 'Export a platform-neutral reconstruct.scene.v1 interface', then enumerates its contents (profiles, frames, node hierarchy, layout constraints, text/paint, resources, actions, transitions, motion). That is far more precise than the title alone. It stops short of naming a sibling such as get_scenario_scene, so an agent cannot tell from the text alone which sibling produces the scenario-flavored variant.

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?

It gives concrete operating rules: request each saved view separately, treat CSS/DOM/Android classes as adapter inputs rather than canonical layout, and never infer fixed sizing or successful interactions. It also states a prerequisite (a published scene is required for native captures). What it does not provide is routing guidance against the many get_page_*/get_component_* siblings that clearly overlap.

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.

Resources