Skip to main content
Glama

Open artifact in browser

workspace_view_open

Ask the browser tab paired to your agent key in the artifact's workspace to open it, using the context generation you last read (workspace_view_context). operationId is an optional idempotency key: without one, a retry is a new request. The receipt reports queued, applied, deferred, or disconnected state.

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": {
      "artifactId": "<artifactId>",
      "expectedContextGeneration": "<expectedContextGeneration>"
    },
    "name": "workspace_view_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters.
artifactIdYesThe artifact to open, in a workspace: its id, alias or page URL.
operationIdNoOptional idempotency key: a retry with the same key and inputs returns the same receipt.
expectedContextGenerationYescontextGeneration from your last view context read.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that retries without operationId are treated as new requests (reinforcing idempotentHint=false), that the target must be a paired browser tab, and that the receipt reports queued/applied/deferred/disconnected states. It also notes the write keeps no workspace history, which is meaningful context for a write tool with destructiveHint=false. Minor gap: no statement of what happens if the tab is disconnected at call time.

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?

Three sentences, front-loaded with the action and mechanism, then idempotency, then receipt states. Dense but every clause carries information; nothing is boilerplate.

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, return details need not be explained, yet the description still previews receipt states, and it covers the context-generation prerequisite and idempotency behavior. An agent has enough to invoke it correctly without reading sibling schemas.

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 100%, so baseline is 3. The description adds nuance on operationId (a retry with the same key returns the same receipt; without one a retry is a new request) and frames expectedContextGeneration as coming from the prior context read, but the remaining parameters are left to the schema.

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 gives a specific verb (open) and a precise mechanism (the browser tab paired to your agent key in the artifact's workspace), which an agent can tell apart from the read-oriented workspace_view_context it references. It stops short of explicitly naming what it is not, so sibling separation is implied by the context-generation reference rather than stated.

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 implies a prerequisite by requiring expectedContextGeneration from 'your last view context read', pointing the agent at workspace_view_context first. There is no explicit statement of when to prefer this over artifact_get, workspace_show, or other artifact tools, so guidance remains inferred.

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.