Skip to main content
Glama

set_overlay_interaction

Set up interactive overlays like modals, dialogs, bottom sheets, and dropdowns by defining trigger nodes, transition animations, and backdrop behavior.

Instructions

Configure interactive overlay prototype interactions (modals, dialogs, bottom sheets, slide-over panels, and dropdowns)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
easingNoAnimation easing
durationNoTransition duration in seconds (default: 0.25)
positionNoOverlay alignment on screen (default: CENTER)
directionNoSlide direction when using SLIDE_IN/MOVE_IN
triggerTypeNoTrigger type (default: ON_CLICK)
overlayColorNoHex backdrop overlay color (default: '#00000066')
sourceNodeIdYesNode ID that triggers the overlay (e.g. button or menu item)
transitionTypeNoTransition animation (default: DISSOLVE)
backgroundOverlayNoShow dimming background backdrop (default: true)
destinationNodeIdYesFrame node ID to display as an overlay (e.g. modal or drawer)
closeOnClickOutsideNoDismiss overlay when clicking outside backdrop (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It only categorizes the action and gives examples; it does not reveal that this creates or overwrites a prototype connection, whether existing overlay interactions are replaced, or what side effects occur after invocation.

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?

Single sentence with no filler, and the key term 'overlay prototype interactions' appears before the parenthetical examples. Every part contributes to identifying the tool's domain.

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?

Despite a rich input schema, the tool has 11 parameters, no annotations, and no output schema, and the description provides only a one-line category. Missing context includes when this tool is preferred over set_prototype_interaction, whether it creates or modifies connections, and what happens after invocation.

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 description coverage is 100%, and each parameter already has a clear description, so the baseline is 3. The description adds no extra parameter meaning, but it does not need to compensate for schema gaps.

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?

Description states a specific verb ('Configure') and a distinct resource ('interactive overlay prototype interactions'), with concrete examples (modals, dialogs, bottom sheets, slide-over panels, dropdowns). This clearly differentiates it from the sibling set_prototype_interaction, which appears to target prototype interactions more generally.

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?

The examples imply when to use the tool: whenever an overlay-style interaction (modal, dialog, sheet, etc.) is being configured. However, it never explicitly names alternatives such as set_prototype_interaction or states when NOT to use this tool, leaving the routing decision to inference.

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