Skip to main content
Glama

dismiss_dev_overlays

Close React Native LogBox error/warning boxes and warning banners that intercept taps, so debug builds behave like release builds and underlying app controls can receive input.

Instructions

Close React Native development overlays (LogBox error/warning boxes and the warning banner) that sit on top of the app. They intercept taps aimed at whatever is underneath, so clearing them first makes a debug build behave like a release one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dismiss_dev_overlays"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description reinforces the safety profile by framing the action as clearing dev-only overlays that block taps. It adds real context beyond the annotations (the tap-interception problem and the debug-vs-release behavioral effect). It does not say what happens when no overlays are present or whether the call errors or no-ops, leaving a modest gap.

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?

Two sentences, front-loaded with the action and target, followed by the rationale. Every clause earns its place — the overlay names, the tap-interception problem, and the debug/release framing all carry information.

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 zero-required-parameter, single-purpose utility with no output schema and fully documented parameters, the description covers what the tool does, why it matters, and its safety profile. The only omission is edge-case behavior (no overlays present) which is minor for this tool's complexity.

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%, with both platform (enum, inferred if omitted) and device_id (omit for connected device) already documented in the schema. The description adds no additional meaning about targeting a specific device or platform, so the baseline 3 applies.

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?

The description gives a specific verb ('Close') and a precisely scoped resource ('React Native development overlays (LogBox error/warning boxes and the warning banner)'). The parenthetical enumeration removes ambiguity about which overlays are targeted, and no sibling tool in the list does anything similar, so the agent can select it without cross-referencing other schemas.

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

Usage Guidelines4/5

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

It supplies a clear motivating condition: overlays 'intercept taps aimed at whatever is underneath,' so clearing them first makes a debug build behave like a release one. That tells the agent when to reach for it (before interacting with UI in a debug build). It stops short of explicit when-not guidance or naming an alternative, which keeps it below a 5.

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