Skip to main content
Glama

studio_open_page

Open a page for editing and get the session_id every other studio tool needs. The page has four files: index.html, style.css, app.js and manifest.json. One session per page at a time, the studio's own assistant included. A session ends after 30 minutes without a call, and keeps nothing. End it with studio_save, or with studio_close to drop the changes. On a navigation or section_list page, index.html holds the whole HTML document, and the answer adds instructions: that page's rules, which replace a section's. Read them before changing anything. When the app does not use Custom code on that page (another navigation mode, another list template), opening it is refused with the reason, and nothing is opened; so is opening it while the user publishes it from the studio: try again in a moment.

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": {
      "page_id": "<page_id>"
    },
    "name": "studio_open_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesThe page_id studio_get (what editable_pages) returned: a section's id, navigation for the app's navigation, list-<section id> for a multilevel section's list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: one session per page at a time, a 30-minute inactivity timeout, no retained state, and explicit termination via studio_save or studio_close. It also explains refusal conditions and page-type-specific behavior for navigation and section_list pages. These details are consistent with the annotations declaring this is not read-only and not idempotent.

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 core purpose and session_id requirement are front-loaded, and most sentences carry useful operational detail. The description is somewhat dense in the middle, especially the sentence about navigation/section_list pages and added instructions, but it avoids repetition and unnecessary preamble. A minor rewrite could improve readability without removing content.

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

Completeness5/5

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

For a stateful editing-session tool with no output schema, the description covers the essential lifecycle: what opens, what is returned, how the session ends, how long it lasts, and when opening is refused. It also explains the page file structure and special handling for navigation and section_list pages. Nothing critical for correct invocation is missing.

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?

There is one parameter with 100% schema description coverage, and the schema already explains the page_id format and source. The description adds useful context about page types and index.html contents, but it does not add parameter-level syntax or format meaning beyond the schema. With high schema coverage, the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: opening a page for editing and obtaining the session_id that other studio tools need. It distinguishes the operation from studio_save and studio_close by explaining how those tools end the session, while studio_get is referenced indirectly through page_id. An agent can identify what this tool does 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 Guidelines5/5

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

The description gives explicit usage context: use it to open a page and obtain the session_id required by other studio tools. It names studio_save and studio_close as the alternatives for ending a session and explains when opening is refused, including pages without Custom code and pages currently being published. This provides clear when-to-use, when-not-to-use, and exit-path guidance.

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.