Skip to main content
Glama

Get Pane Layout Geometry

pane_layout
Read-onlyIdempotent

Inspect a pane's dimensions and layout geometry to decide whether to split it right or down.

Instructions

Inspect a pane's dimensions and layout geometry to choose whether to split right or down.

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": {
      "pane_id": "<pane_id>"
    },
    "name": "pane_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
pane_idYesTarget pane ID (for example 'w1:p1').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds that the returned data is dimensions/geometry used for split-direction decisions, which is useful context not in the annotations, but it says nothing about the shape of the geometry data or edge cases such as invalid pane IDs.

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?

One sentence, front-loaded with the action and resource, with the trailing clause earning its place by explaining why the geometry matters. Nothing is wasted or buried.

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 single-parameter read tool with rich annotations and full schema coverage, the description supplies the needed purpose and intent. The only gap is that no output schema exists and the description doesn't indicate what the geometry result contains, though for a simple inspection tool this is minor.

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% and the single pane_id parameter is documented in the schema with an example format. The description adds no meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Inspect a pane's dimensions and layout geometry'), which separates it from the sibling pane_get by focusing on geometry rather than general pane state. An agent can infer the distinction, though the description never names pane_get to make the split unambiguous.

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?

Adds a decision context ('to choose whether to split right or down'), which implies this is a precursor call to pane_split. It stops short of explicitly naming the alternative tool or stating when not to call it, so usage is implied rather than spelled out.

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