Skip to main content
Glama

maket_workspace

Manage the live workspace: open documents and pages for preview, inspect document state, toggle locks, fit the view, and process user-message queues.

Instructions

When to use: every session-level interaction with the live workspace — open a doc/page in the preview, inspect a doc's current state, toggle its lock, and process the user-message queue. For persistent CRUD on documents (create, rename, delete, duplicate, meta, import/export) use maket_doc.

focus — open doc at page page in the live preview (sets active doc + active page). state — summarise doc's current state: canvas, pages with element counts, charte, pending messages. lock — lock or unlock doc. When locked, every doc-scoped mutation refuses until it's unlocked. Pass locked=true/false, or omit to toggle. fit_view — zoom out the client to fit the whole workspace (same as the Maximize button). list_messages — return every pending user message across all docs and the workspace bucket as JSON. Each message carries its own docName (or none for workspace scope). ack_messages — drop the given ids from whichever bucket they live in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docNoThe document in scope. Required for focus/state/lock. Do not pass it for list_messages; that action returns every queued user message across all documents and the workspace.
idsNoFor ack_messages: message ids to mark processed.
pageNoFor focus: 1-based page number to make active.
actionYesOperation to run. See the tool description for the action table.
lockedNoFor lock: true to lock the document, false to unlock. Omit to toggle.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It clearly describes each action's behavior: focus opens a doc at a page, state summarizes current state, lock toggles and blocks mutations, fit_view zooms out, list_messages returns pending messages as JSON, ack_messages drops given ids. Minor gaps: does not explicitly state return format for focus/lock/fit_view.

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 description is fairly long but well-structured with a summary sentence followed by a bullet list. Every sentence serves a purpose, though some redundancy exists (e.g., each action's description could be tightened slightly). Overall efficient for the complexity.

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?

No output schema is provided, so description must cover return values. It does for list_messages (JSON) and state (summary), but less explicit for focus, lock, and fit_view (likely success signals). It also explains the cascade effect of lock. Comprehensive given the tool's complexity.

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 description coverage is 100%, baseline 3. The description adds significant value beyond the schema: explains action-specific parameter requirements (e.g., doc required for focus/state/lock), toggle behavior for locked, and that ids is for ack_messages. This extra context is helpful.

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 explicitly states the tool is for 'every session-level interaction with the live workspace' and enumerates six specific actions (focus, state, lock, fit_view, list_messages, ack_messages). It clearly distinguishes from the sibling tool maket_doc, which handles persistent CRUD.

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 provides explicit guidance on when to use this tool vs alternatives: 'For persistent CRUD on documents... use maket_doc.' It also details parameter requirements per action, e.g., doc is required for focus/state/lock but not for list_messages.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ng-galien/maket'

If you have feedback or need assistance with the MCP directory API, please join our Discord server