Skip to main content
Glama

set_block_visibility

Controls block visibility, solo mode, color, transparency, and opacity in nTop viewports to isolate and style geometry for inspection.

Instructions

Control viewport visibility, solo mode, color (#RRGGBB or [r,g,b,a]), transparency, and opacity.

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": {
      "notebook_path": "<notebook_path>",
      "targets": "<targets>"
    },
    "name": "set_block_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
soloNo
colorNo
opacityNo
targetsYes
visibleNo
overwriteNo
wireframeNo
output_pathNo
transparentNo
notebook_pathYes
auto_reload_guiNo
force_if_unsavedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 provided, so the description carries the full behavioral burden. It discloses the accepted color encodings, which is useful, but says nothing about the mutation's side effects, whether visibility changes persist to the notebook file, what overwrite replaces, or what force_if_unsaved and auto_reload_gui do. For a 12-parameter write tool with zero annotation coverage, this is a major gap.

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?

A single compact sentence that front-loads the core capability and packs the setting names without filler. It is efficient, though the brevity comes at the cost of the missing behavioral detail noted elsewhere.

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?

An output schema exists, so return values need not be explained, but the definition is still thin for a 12-parameter mutation tool with no annotations and no schema descriptions. Critical semantics like target addressing, overwrite behavior, and the unsaved-state guard are absent, leaving the agent to guess at safe invocation.

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 description coverage is 0%, so the description must compensate. It covers five of twelve parameters (visible, solo, color, transparent, opacity) and adds the color format detail, but leaves targets, notebook_path, overwrite, wireframe, output_path, auto_reload_gui, and force_if_unsaved undocumented. The targets parameter in particular accepts integers or strings with no explanation of what those identifiers mean.

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?

The verb 'Control' plus the resource 'viewport visibility' and the enumerated settings (solo, color, transparency, opacity) make the tool's job clear. It does not explicitly say these apply to blocks in a notebook, but the name and the listed properties make that inference safe. No sibling covers visibility, so differentiation is not a concern.

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 tool versus alternatives, and no explanation of prerequisites such as whether the notebook must be saved or whether the GUI must be running. The conditions that select options like overwrite or force_if_unsaved are left entirely to inference.

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