Skip to main content
Glama

app.reload

app_reload

Reload the app's JavaScript to apply changes; pending restores (store, query, mocks, pins, storage) are lost, so restore them first.

Instructions

Reload the app's JS (Expo's reloadAppAsync, else DevSettings.reload). Pending restores (store, query, mocks, pins, storage) are lost, and the reply names them: restore first. Returns before it reloads; a session waits for the new bridge and reports what was lost.

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": "app_reload"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoThe tool's arguments, in order (each any JSON value). Leave out for none.
fullNoReturn a result over 32 KB whole instead of a summary of its size and shape.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does it well: it discloses that the operation is destructive to pending restores, enumerates which kinds, says the reply names them, and clarifies the asynchronous semantics (returns before the reload; a session waits for the new bridge).

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?

Three sentences, verb-first and zero filler, with the loss warning front-loaded before the timing caveat. The final clause ('a session waits for the new bridge') is slightly compressed and needs a second read, which keeps it just below top marks.

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 two-optional-parameter tool with no annotations and no output schema, the description covers the critical gaps: destructiveness, what the reply contains, and when it returns. It says nothing about the generic 'args' parameter or required bridge/session state, a minor omission.

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%, so the schema already explains both 'args' and 'full'. The description adds no meaning about the generic 'args' passthrough or the 32 KB 'full' behavior, so it sits at the baseline.

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?

States a specific verb and resource ('Reload the app's JS') and even names the underlying implementations (reloadAppAsync, else DevSettings.reload), which pins down exactly what happens. No sibling performs a JS reload, and the 'restore first' note implicitly positions it against the restore tools.

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?

Gives clear ordering guidance: pending restores (store, query, mocks, pins, storage) are lost, so restore before reloading. It does not address the adjacent ambiguity with screen_refresh or explain when a JS reload is preferable to a screen-level refresh, so no explicit exclusions.

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