Skip to main content
Glama

Get page transitions

get_page_transitions
Read-onlyIdempotent

List links discovered on a captured route and resolve links to captured route names. These are potential transitions, not observed clicks.

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

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.
limitNoMaximum items returned, clamped to 1..200. Default 100.
offsetNoZero-based result offset for pagination. Negative values are treated as zero; default is 0.
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
totalYesCount or zero-based index
transitionsYesResult entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 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: +"Discovered links, not observed navigation events"
    • removedOutput schema / properties / result
      Removed value: -{
      -  "additionalProperties": true,
      -  "description": "Discovered links, not observed navigation events",
      -  "properties": {
      -    "total": {
      -      "description": "Count or zero-based index",
      -      "type": "integer"
      -    },
      -    "transitions": {
      -      "description": "Result entries",
      -      "items": {
      -        "additionalProperties": true,
      -        "description": "Potential link transition",
      -        "properties": {
      -          "clickObserved": {
      -            "description": "Whether this condition holds",
      -            "type": "boolean"
      -          },
      -          "href": {
      -            "description": "Text value",
      -            "type": "string"
      -          },
      -          "kind": {
      -            "description": "Text value",
      -            "type": "string"
      -          },
      -          "targetPage": {
      -            "anyOf": [
      -              {
      -                "description": "Text value",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "href",
      -          "targetPage",
      -          "kind",
      -          "clickObserved"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "total",
      -    "transitions"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / total
      Added value: +{
      +  "description": "Count or zero-based index",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / transitions
      Added value: +{
      +  "description": "Result entries",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Potential link transition",
      +    "properties": {
      +      "clickObserved": {
      +        "description": "Whether this condition holds",
      +        "type": "boolean"
      +      },
      +      "href": {
      +        "description": "Text value",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "description": "Text value",
      +        "type": "string"
      +      },
      +      "targetPage": {
      +        "anyOf": [
      +          {
      +            "description": "Text value",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "href",
      +      "targetPage",
      +      "kind",
      +      "clickObserved"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "total",
      +  "transitions"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum items returned, clamped to 1..200. Default 100."
    • addedInput schema / properties / offset / description
      Added value: +"Zero-based result offset for pagination. Negative values are treated as zero; default is 0."
    • 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: +{
      +  "$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": "Discovered links, not observed navigation events",
      +      "properties": {
      +        "total": {
      +          "description": "Count or zero-based index",
      +          "type": "integer"
      +        },
      +        "transitions": {
      +          "description": "Result entries",
      +          "items": {
      +            "additionalProperties": true,
      +            "description": "Potential link transition",
      +            "properties": {
      +              "clickObserved": {
      +                "description": "Whether this condition holds",
      +                "type": "boolean"
      +              },
      +              "href": {
      +                "description": "Text value",
      +                "type": "string"
      +              },
      +              "kind": {
      +                "description": "Text value",
      +                "type": "string"
      +              },
      +              "targetPage": {
      +                "anyOf": [
      +                  {
      +                    "description": "Text value",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "href",
      +              "targetPage",
      +              "kind",
      +              "clickObserved"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "total",
      +        "transitions"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent read, so the description does not need to restate safety. It does add genuine behavioral context by warning that the returned links are discovered candidates rather than verified click events, which changes how an agent should interpret and trust the output.

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?

Two compact sentences with the core action first and the interpretive caveat immediately after. Nothing is redundant with the title, schema, or annotations.

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, annotations covering safety, and full schema coverage, the description only needs to establish intent and interpretation, both of which it does. The remaining gap is that link-resolution behavior (what happens when a link cannot be resolved to a captured route) is not described.

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?

Every parameter is already documented in the schema at 100% coverage, including the important page/view key semantics and limit clamping, so the description carries no burden here. It adds no parameter-level meaning beyond the schema, which matches the baseline of 3 when the schema does the work.

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 pairs specific verbs (list, resolve) with a specific resource (links discovered on a captured route), so an agent knows it returns link data rather than rendered content. The clause 'potential transitions, not observed clicks' further separates it from the replay/click tools in the sibling list, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the 'not observed clicks' note hints that this is for navigation-structure discovery rather than recorded interaction, but there is no explicit 'use this when...' statement or named alternative such as get_replay_step. An agent must infer the selection criteria from the caveat alone.

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