Skip to main content
Glama

Validate workspace

validate_workspace

Check a workspace spec for schema compliance before launching. Returns validity status, error messages, and summary counts of windows, tabs, and panes.

Instructions

Validate a workspace spec against the hyperpanes schema without launching anything. Returns { valid, errors?, summary } where summary counts windows/tabs/panes. Accepts the nested windows[]->groups[]->panes[] shape or the legacy single-window panes[]/groups[] shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specYes
Behavior4/5

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

No annotations are present, so the description carries the burden. It discloses the tool does not launch anything, returns a {valid, errors?, summary} object with summary semantics, and accepts both nested and legacy spec shapes — meaningful behavioral context. It stops short of explicitly stating it never mutates state, but validation is clearly non-mutating.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: action+side-effect, return shape, accepted input variants. Front-loaded and free of filler.

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 one-parameter validation tool with no output schema and no annotations, the description covers the essential runtime behavior, return format, and input variations. Nothing critical is missing.

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?

The schema provides only an untyped 'spec' with no description (0% coverage), so the description must compensate. It explains the parameter is a workspace spec conforming to the hyperpanes schema and enumerates the two accepted shapes (nested windows[]->groups[]->panes[] vs legacy panes[]/groups[]). This adds useful meaning, though it doesn't document all sub-fields.

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?

Specific verb 'validate' with resource 'workspace spec' and clear scope ('against hyperpanes schema'). Distinguishes from sibling launch_workspace/build_workspace by explicitly noting 'without launching anything'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides clear context: validation is a pre-launch safety step and does not launch. Though it doesn't name alternative tools or state exclusions, the contrast with launching and mention of accepted input shapes implies when to use it.

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/Eyalm321/hyperpanes-mcp'

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