Skip to main content
Glama

Get page stack

get_page_stack
Read-onlyIdempotent

Return stack.json beside a page capture for an exact stored view key and environment, when present.

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_page_stack"
  }
}

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.

Output Schema

NameRequiredDescriptionDefault
rawYesOriginal captured stack document
pageYespage
viewYesview
engineYes
productYesproduct
versionYesversion
renderingYes
technologiesYesResult entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / description
      Previous value: -"Structured result. Existing text or image content remains available in content."New value: +"Detected page technologies and stored source evidence"
    • addedOutput schema / properties / engine
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Text value",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / page
      Added value: +{
      +  "description": "page",
      +  "type": "string"
      +}
    • addedOutput schema / properties / product
      Added value: +{
      +  "description": "product",
      +  "type": "string"
      +}
    • addedOutput schema / properties / raw
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Original captured stack document",
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / rendering
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/rendering"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "additionalProperties": true,
      -  "description": "Detected page technologies and stored source evidence",
      -  "properties": {
      -    "engine": {
      -      "anyOf": [
      -        {
      -          "description": "Text value",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "page": {
      -      "description": "page",
      -      "type": "string"
      -    },
      -    "product": {
      -      "description": "product",
      -      "type": "string"
      -    },
      -    "raw": {
      -      "additionalProperties": true,
      -      "description": "Original captured stack document",
      -      "properties": {},
      -      "type": "object"
      -    },
      -    "rendering": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/rendering"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "technologies": {
      -      "description": "Result entries",
      -      "items": {
      -        "$ref": "#/$defs/technology"
      -      },
      -      "type": "array"
      -    },
      -    "version": {
      -      "description": "version",
      -      "type": "string"
      -    },
      -    "view": {
      -      "description": "view",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "product",
      -    "version",
      -    "page",
      -    "view",
      -    "engine",
      -    "rendering",
      -    "technologies",
      -    "raw"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / technologies
      Added value: +{
      +  "description": "Result entries",
      +  "items": {
      +    "$ref": "#/$defs/technology"
      +  },
      +  "type": "array"
      +}
    • 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: +[
      +  "product",
      +  "version",
      +  "page",
      +  "view",
      +  "engine",
      +  "rendering",
      +  "technologies",
      +  "raw"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"Captured page key returned by list_pages or get_application_manifest, not a URL or filesystem path."
    • addedInput schema / properties / product / description
      Added value: +"Product key, for example finance-ozon-ru"
    • addedInput schema / properties / version / description
      Added value: +"Exact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "rendering": {
      +      "additionalProperties": true,
      +      "description": "Detected rendering mode",
      +      "properties": {
      +        "confidence": {
      +          "description": "Count or zero-based index",
      +          "type": "integer"
      +        },
      +        "framework": {
      +          "anyOf": [
      +            {
      +              "description": "Text value",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "mode": {
      +          "description": "Text value",
      +          "type": "string"
      +        },
      +        "signals": {
      +          "description": "Result entries",
      +          "items": {
      +            "description": "Text value",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "mode",
      +        "confidence",
      +        "framework",
      +        "signals"
      +      ],
      +      "type": "object"
      +    },
      +    "technology": {
      +      "additionalProperties": true,
      +      "description": "Detected frontend technology",
      +      "properties": {
      +        "categories": {
      +          "description": "Result entries",
      +          "items": {
      +            "description": "Text value",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "confidence": {
      +          "description": "Count or zero-based index",
      +          "type": "integer"
      +        },
      +        "name": {
      +          "description": "Text value",
      +          "type": "string"
      +        },
      +        "primaryCategory": {
      +          "anyOf": [
      +            {
      +              "description": "Text value",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "version": {
      +          "anyOf": [
      +            {
      +              "description": "Text value",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "version",
      +        "confidence",
      +        "primaryCategory",
      +        "categories"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "description": "Structured result. Existing text or image content remains available in content.",
      +  "properties": {
      +    "result": {
      +      "additionalProperties": true,
      +      "description": "Detected page technologies and stored source evidence",
      +      "properties": {
      +        "engine": {
      +          "anyOf": [
      +            {
      +              "description": "Text value",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "page": {
      +          "description": "page",
      +          "type": "string"
      +        },
      +        "product": {
      +          "description": "product",
      +          "type": "string"
      +        },
      +        "raw": {
      +          "additionalProperties": true,
      +          "description": "Original captured stack document",
      +          "properties": {},
      +          "type": "object"
      +        },
      +        "rendering": {
      +          "anyOf": [
      +            {
      +              "$ref": "#/$defs/rendering"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "technologies": {
      +          "description": "Result entries",
      +          "items": {
      +            "$ref": "#/$defs/technology"
      +          },
      +          "type": "array"
      +        },
      +        "version": {
      +          "description": "version",
      +          "type": "string"
      +        },
      +        "view": {
      +          "description": "view",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "product",
      +        "version",
      +        "page",
      +        "view",
      +        "engine",
      +        "rendering",
      +        "technologies",
      +        "raw"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description contributes the non-obvious fact that the artifact is optional ('when present'), which is real behavioral value, but it does not say how absence is signalled (empty result vs error) or whether surrounding capture data affects availability beyond what the schema says.

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?

A single front-loaded sentence with the resource and its availability qualifier, no filler. It is dense but not inflated; the only weakness is that brevity comes at the cost of explaining the resource.

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?

An output schema exists, so return contents need no explanation, and annotations cover the safety profile. What is missing is the one thing an agent most needs for disambiguation from the many get_page_* and get_technology_stack siblings: what stack.json actually contains and why you would request it.

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 100%, so every parameter is already documented in detail, including the view key, version pinning and environment sourcing. The description only echoes the 'exact stored view key and environment' constraint already stated in the schema, adding no new syntax or format meaning.

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?

States a specific verb plus resource: return stack.json sitting beside a page capture, scoped to an exact view key and environment. An agent knows it fetches a single sidecar artifact rather than a page summary, but the description never says what a 'stack' actually is (likely the technology stack), leaving overlap with siblings such as get_technology_stack, get_page_artifacts and get_page_bundles unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'When present' hints that the artifact may not exist, which is mild usage context. There is no guidance on when to choose this over get_technology_stack, get_page_artifacts or get_page_bundles, and no stated prerequisites or fallback behavior when the file is absent.

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