Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_app_views

Read-onlyIdempotent

List pages in a hosted app by ID or exact name, returning details needed to select a page for screenshot capture or interaction automation.

Instructions

List pages in a hosted app by ID or exact name. Use a returned page with whodb_platform_app_screenshot. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

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": {
      "app": "<app>"
    },
    "name": "whodb_platform_app_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp ID or exact name in the selected project
envNopublished (default) or dev
tabNoOptional visible tab or button label to open before capture
pageNoOptional page returned by whodb_platform_app_views
traceNoRequest an interaction trace from a compatible hosted app runtime
widthNoViewport width, default 1440
heightNoViewport height, default 900
mobileNoEmulate a touch-enabled mobile browser; default viewport 390x844 unless width or height is set
scriptNoOptional JavaScript expression or IIFE evaluated inside the app frame after actions
tabletNoEmulate a touch-enabled tablet browser; default viewport 820x1180 unless width or height is set
actionsNoOrdered actions inside the app frame: click, fill, press, wait_for, or wait
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.
orientationNoOptional viewport orientation: portrait or landscape; rotates the device preset

Output Schema

NameRequiredDescriptionDefault
appNo
envNo
errorNo
scopeNo
viewsNo
app_idNo
recoveryNo
retryableNo
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.
error_codeNo
request_idNo
suggested_toolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.139.0
    • changedInput schema / properties / actions / items / required
      Previous value: -[
      -  "kind",
      -  "value"
      -]New value: +[
      +  "kind"
      +]
  2. Changed4 schema fields changedv0.136.0
    • addedOutput schema / properties / error_code
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / recovery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "LikelyCause": {
      +      "type": "string"
      +    },
      +    "NextSteps": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "LikelyCause",
      +    "NextSteps"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / retryable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / suggested_tools
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Addedv0.135.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is mostly covered. The description adds per-call workspace targeting that does not change defaults, but it does not explain behavior for the many action/script/trace parameters present in the schema, leaving important operational context to the schema.

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?

The definition is front-loaded with the core purpose and uses only three short sentences. Each sentence contributes either purpose, downstream usage, or workspace targeting, with little wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 13 parameters, nested workspace targeting, and action/script/trace options, the description only covers listing pages and workspace scoping. Because an output schema exists, return values need not be described, but the gap between "list pages" and the schema's interaction parameters leaves the agent without important context.

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 the schema itself documents all 13 parameters in detail. The description only adds lightweight meaning for the app identifier and workspace targeting, which is appropriate baseline context but not substantial extra guidance.

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 states a specific verb and resource: "List pages in a hosted app" and clarifies that the app can be identified by ID or exact name. It distinguishes the output from whodb_platform_app_screenshot by telling the agent to use a returned page there, though it does not disambiguate from the singular whodb_platform_app_view sibling.

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?

It gives useful downstream guidance: "Use a returned page with whodb_platform_app_screenshot." However, it does not explain when to choose this listing tool versus other app/page siblings, nor does it state exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools