Skip to main content
Glama

get_layout_info

Inspect a layout’s page setup, element positions and sizes, and text content such as titles to verify map composition details before export or review.

Instructions

Inspect a layout: page setup and every element with position and size, and the text of text elements such as the title.

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": {
      "layout_name": "<layout_name>"
    },
    "name": "get_layout_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
layout_nameYesLayout name.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does establish that the operation is non-mutating inspection and it enumerates the returned content (page setup, element geometry, text content), which is useful. It says nothing about failure behavior for a missing layout name, permissions, or the shape/size of the response — mitigated somewhat by the presence of an output schema.

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?

One sentence, no filler, with the resource and contents front-loaded. Slightly dense as a comma-joined inventory, but nothing wastes the reader's time.

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 one-parameter read tool with an output schema, the description covers what the tool inspects and what categories of data come back, which is enough to select and invoke it. The remaining gaps (missing-layout behavior, guidance against sibling inspection tools) are minor given the output schema handles return values.

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?

There is a single parameter, layout_name, and schema description coverage is 100% ('Layout name.'). The description adds no meaning beyond the schema — no note on where layout names come from or whether they are case-sensitive — so the baseline 3 for high coverage 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 ('Inspect') and resource ('a layout') and enumerates what is returned: page setup, every element with position and size, and text of text elements. An agent can distinguish this read tool from the mutation siblings (create_layout, delete_layout, set_layout_element) by resource and verb. It does not explicitly name the closest alternative such as preview_layout, so it falls just short of a 5.

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?

Usage is only implied: the word 'Inspect' plus the descriptive inventory signals this is the read-only lookup for layout structure. There is no statement of when to prefer it over preview_layout or export_layout, nor any prerequisites such as whether the layout must already exist.

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

Deploy Server

Other Tools