Skip to main content
Glama

get_viewport_info

Retrieve viewport settings for a specified pane tab to understand or adjust the viewport configuration.

Instructions

Get viewport settings for a pane tab.

Args: pane_name: Pane tab name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pane_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.24.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Get' implies a read, but nothing is said about what settings are returned, whether the pane must be open, error behavior, or any side effects.

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?

Very short and front-loaded, with the core purpose in the first sentence. The trailing Args block is somewhat boilerplate but not wasteful enough to be penalized heavily.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no annotations and no output schema, the description does not explain the return value or how to source a pane name, leaving an agent unable to call it confidently without exploring other tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% — the schema only carries a title and a null default. The description's 'pane_name: Pane tab name' restates the parameter name without explaining what values are valid, how to obtain a pane name (e.g., via list_panes), or why the parameter is optional.

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 ('Get') and resource ('viewport settings for a pane tab'), which is clear and distinguishable in kind from the set_viewport_* siblings. It does not, however, name any sibling or clarify the contrast with adjacent viewport tools.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus the many viewport-related siblings, nor any prerequisite such as needing the pane to exist. The agent is left to infer everything about invocation context.

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