Skip to main content
Glama

Set tab layout

set_layout

Set a terminal tab's tiling layout to auto, single, columns, rows, grid, or main-stack. Defaults to the active tab.

Instructions

Set the tiling layout of a tab. tabId defaults to the active tab of the first window. Use list_layouts for valid ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdNo
layoutYes
Behavior4/5

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

With no annotations provided, the description carries the behavioral transparency burden. It discloses that tabId defaults to the active tab of the first window, which is important runtime behavior. It does not cover side effects or permissions, but for a layout setter this is acceptable.

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?

The description is two sentences, front-loads the main verb and object, and includes necessary context without fluff.

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?

For a simple two-parameter tool with no output schema, the description covers the essential aspects: what, where (tabId default), and where to get valid values. It does not explain return values, but that is not critical for a setter.

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 input schema has no descriptions, leaving 0% coverage. The description compensates by defining the tabId default and directing the agent to list_layouts for valid layout IDs, which adds semantic meaning beyond the raw schema.

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 clearly states the action ('Set') and the target ('the tiling layout of a tab'). The phrase 'tiling layout' distinguishes this from sibling tools like set_speech or set_talk, which target different resources.

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?

The description provides a concrete usage pointer: 'Use list_layouts for valid ids.' This tells the agent where to find valid layout values, but it does not explicitly state exclusion criteria or alternative setting approaches, so it stops short of full when/when-not guidance.

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