Skip to main content
Glama

Get Screen Details

get_screen_details
Read-onlyIdempotent

Read one screen using frameIndex from navigation results: metrics, testers on it, and where they clicked. clicks lists each interaction (tester, step, order on the screen, action, element, x/y in screenshot pixels); clickSummary ranks clicked elements by first clicks and lists each tester's first click. Use for where did testers click (first), clickmap and heatmap questions. Click detail is omitted when the plan does not include analytics. Includes one available screenshot preview of the requested screen, with its clicks drawn as a heatmap by default (overlay: clickmap or none to change it). Prototype screen indexes are zero-based; live gallery frame numbers are one-based. Images may be unavailable. Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults. Legacy tests also supported.

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": {
      "testId": "<testId>",
      "frameIndex": "<frameIndex>"
    },
    "name": "get_screen_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNo
testIdYes
blockIdNoSelect one block from list_test_blocks. Omit to infer a sole relevant block; list_insights defaults to all AI blocks. Omit for legacy tests.
overlayNoHow clicks are drawn on the screenshot preview: 'heatmap' (default when the screen has clicks), 'clickmap' (one dot per click) or 'none' for the plain screenshot.
frameIndexYes

Output Schema

NameRequiredDescriptionDefault
dataNo
loopNo
retryNo
runIdNo
scopeNo
clicksNo
statusNo
testIdNo
blockIdNo
messageNo
metricsNo
paywallNo
nextStepNo
frameIndexNo
screenNameNo
clickSummaryNo
clicksTruncatedNo
testersOnScreenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed66 schema fields changed
    • addedInput schema / properties / frameIndex / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / clickSummary / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / clickSummary / properties / byElement / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / clicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / clicks / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / firstClicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / firstClicks / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / testers / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clickSummary / properties / byElement / items / properties / testers / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / clickSummary / properties / firstClicks / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / clickSummary / properties / testersCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clickSummary / properties / testersCount / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / clickSummary / properties / totalClicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clickSummary / properties / totalClicks / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / clicks / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / clicks / items / properties / order / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clicks / items / properties / order / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / clicks / items / properties / stepId / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / clicks / items / properties / stepId / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / clickSummary / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / clicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / clicks / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / firstClicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / firstClicks / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / testers / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / byElement / items / properties / testers / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / clickSummary / properties / firstClicks / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / clickSummary / properties / testersCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / testersCount / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / totalClicks / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clickSummary / properties / totalClicks / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / clicks / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / clicks / items / properties / order / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clicks / items / properties / order / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / clicks / items / properties / stepId / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / clicks / items / properties / stepId / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / frameIndex / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / frameIndex / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / loop / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "affectedTesterIds": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "revisitCount": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "revisitCount",
      -      "affectedTesterIds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "affectedTesterIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "revisitCount": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "revisitCount",
      +      "affectedTesterIds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / metrics / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / metrics / properties / testersCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / metrics / properties / testersCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / metrics / properties / totalClicks / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / paywall / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / testersOnScreen / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / testersOnScreen / items / properties / misclicks / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / data / properties / testersOnScreen / items / properties / visits / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / testersOnScreen / items / properties / visits / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / frameIndex / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / frameIndex / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / loop / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "affectedTesterIds": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "revisitCount": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "revisitCount",
      -      "affectedTesterIds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "affectedTesterIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "revisitCount": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "revisitCount",
      +      "affectedTesterIds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / metrics / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / metrics / properties / testersCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / metrics / properties / testersCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / metrics / properties / totalClicks / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / paywall / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / testersOnScreen / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / testersOnScreen / items / properties / misclicks / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / testersOnScreen / items / properties / visits / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / testersOnScreen / items / properties / visits / minimum
      Added value: +-9007199254740991
  2. Changed9 schema fields changed
    • addedInput schema / properties / overlay
      Added value: +{
      +  "description": "How clicks are drawn on the screenshot preview: 'heatmap' (default when the screen has clicks), 'clickmap' (one dot per click) or 'none' for the plain screenshot.",
      +  "enum": [
      +    "heatmap",
      +    "clickmap",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / clickSummary
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "byElement": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "clicks": {
      +            "type": "integer"
      +          },
      +          "element": {
      +            "type": "string"
      +          },
      +          "firstClicks": {
      +            "type": "integer"
      +          },
      +          "testers": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "element",
      +          "clicks",
      +          "testers",
      +          "firstClicks"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "firstClicks": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "action": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "element": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "testerName": {
      +            "type": "string"
      +          },
      +          "transcriptRef": {
      +            "type": "string"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "testerName",
      +          "transcriptRef",
      +          "element",
      +          "action",
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "testersCount": {
      +      "type": "integer"
      +    },
      +    "totalClicks": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "totalClicks",
      +    "testersCount",
      +    "byElement",
      +    "firstClicks"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / clicks
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "action": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "actionShort": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "element": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "order": {
      +        "type": "integer"
      +      },
      +      "stepId": {
      +        "type": "integer"
      +      },
      +      "testerName": {
      +        "type": "string"
      +      },
      +      "transcriptRef": {
      +        "type": "string"
      +      },
      +      "x": {
      +        "type": "number"
      +      },
      +      "y": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "transcriptRef",
      +      "testerName",
      +      "stepId",
      +      "order",
      +      "action",
      +      "element",
      +      "actionShort",
      +      "x",
      +      "y"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / clicksTruncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / clickSummary
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "byElement": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "clicks": {
      +            "type": "integer"
      +          },
      +          "element": {
      +            "type": "string"
      +          },
      +          "firstClicks": {
      +            "type": "integer"
      +          },
      +          "testers": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "element",
      +          "clicks",
      +          "testers",
      +          "firstClicks"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "firstClicks": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "action": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "element": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "testerName": {
      +            "type": "string"
      +          },
      +          "transcriptRef": {
      +            "type": "string"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "testerName",
      +          "transcriptRef",
      +          "element",
      +          "action",
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "testersCount": {
      +      "type": "integer"
      +    },
      +    "totalClicks": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "totalClicks",
      +    "testersCount",
      +    "byElement",
      +    "firstClicks"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / data / properties / clicks
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "action": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "actionShort": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "element": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "order": {
      +        "type": "integer"
      +      },
      +      "stepId": {
      +        "type": "integer"
      +      },
      +      "testerName": {
      +        "type": "string"
      +      },
      +      "transcriptRef": {
      +        "type": "string"
      +      },
      +      "x": {
      +        "type": "number"
      +      },
      +      "y": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "transcriptRef",
      +      "testerName",
      +      "stepId",
      +      "order",
      +      "action",
      +      "element",
      +      "actionShort",
      +      "x",
      +      "y"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / clicksTruncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / paywall
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "feature": {
      +      "const": "analytics",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "feature"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / paywall
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "feature": {
      +      "const": "analytics",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "feature"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnlyHint/idempotentHint annotations: it warns that click detail is omitted when the plan lacks analytics, that images may be unavailable, and that clicks are drawn as a heatmap by default with overlay switching the rendering. The zero-based prototype vs one-based live gallery index rule is exactly the kind of behavioral trap an agent could not infer from annotations or schema.

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 purpose is front-loaded, but the paragraph is long and run-on with some redundancy: the 'where did testers click / clickmap / heatmap' usage line restates ground already covered by the clicks and clickSummary field descriptions. Most sentences do carry real information (index base, image availability, overlay default), so it is dense rather than padded.

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?

Covers purpose, usage triggers, mutation-free caveats, index conventions, and fallback behavior for legacy tests, which is sufficient for a 5-parameter read tool. With an output schema present it could have trimmed the field-level return description, but nothing essential for a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, and the description compensates by explaining frameIndex indexing semantics per test type and the overlay default/alternatives ('heatmap' default when the screen has clicks, 'clickmap' one dot per click, 'none' plain). testId and runId semantics remain largely undiscussed, keeping it short of a 5.

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 ('Read one screen using frameIndex') and enumerates the payload: metrics, testers, and where they clicked. The naming of the clicks and clickSummary structures makes it distinguishable from generic frame or summary tools without opening the schema.

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 concrete triggers ('Use for where did testers click (first), clickmap and heatmap questions') and dependency guidance ('Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults'). It does not explicitly say when to prefer get_frame_details or the summary tools instead, so no named exclusion exists.

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