Skip to main content
Glama

switch_page

Switches the active tab page natively in 1C TestClient QA automation by replaying a captured form and sending a page-switch command to the target page. Returns base and target page identifiers.

Instructions

Switch the active tab page (закладку) natively. Opens the form (replays the genuine setup from capture, which switched to base_page) and sends the genuine page-switch command re-targeted to target_page (the page-Group leaf). Returns {base_page, target_page, accepted}. (A page-switch has no value read-back — use capture_screenshot to confirm visually.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo127.0.0.1
portNo
captureNomultiaction-clean
base_pageNoPF_PAGE_B
target_pageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that the tool opens the form, replays the genuine setup from 'capture', sends a real page-switch command, and returns {base_page, target_page, accepted}. It also flags the important limitation that a page switch has no value read-back, which is exactly the kind of behavioral trait an agent needs.

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?

Reasonably sized at two sentences, but the nested parentheticals and internal jargon ('replays the genuine setup from capture', 'page-Group leaf') make it dense and hinder per-sentence clarity rather than front-loading the key action.

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 the return shape need not be re-explained, and the description covers the essential mechanics and the read-back limitation. Remaining ambiguity around host/port and page identifier values is minor for this niche automation tool.

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 coverage is 0%, so the description must compensate. It does explain the relationship between 'capture', 'base_page', and 'target_page' (the page-Group leaf), but it leaves 'host' and 'port' unexplained and gives no format or value examples for the page identifiers, so the coverage gap is only partly filled.

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+resource ('Switch the active tab page natively') and clarifies it targets a page-Group leaf. The reliance on undefined internal jargon ('capture', 'base_page') makes the exact scope less immediately graspable, but the core action is unambiguous.

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 implied (use when you need to change the active tab page) and it helpfully points to capture_screenshot for visual confirmation since there is no value read-back. There is no explicit when-not guidance or comparison against sibling navigation tools like open_card or open_list.

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