Skip to main content
Glama

Restart an app's gateway node

app_restart
Destructive

Queues a restart of an app's TSLink gateway node during daemon reconciliation, preserving enrolled identity and other apps. Does not restart the third-party app process or install a daemon.

Instructions

Queue restart of this app's TSLink gateway node on daemon reconciliation. Keeps the enrolled identity and other apps; does not restart the third-party app process or install a daemon. queued is not evidence that reconciliation finished. Reduced operators cannot restart a public Funnel app. Over HTTP MCP, a change to a public app (open Funnel, a lapsed Funnel that keeps its public acknowledgement, or guest links), including one that makes an app public or removes it, needs the current portal owner when one is configured or a home gateway is on, checked in the write transaction (access_request_owner_required).

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": {
      "app": "<app>"
    },
    "name": "app_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes

Output Schema

NameRequiredDescriptionDefault
appYes
queuedYes
restart_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

The description adds a lot that the annotations do not: it queues work on daemon reconciliation instead of acting immediately, 'queued' is explicitly not evidence that reconciliation finished, identity and other apps are preserved, and the third-party process keeps running. It also spells out the authorization constraints around public Funnel apps, which is exactly the context a destructive, non-idempotent write needs.

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?

It is front-loaded with the action and then layers constraints in decreasing order of importance, with no filler. The final sentence about HTTP MCP and portal owners is long and packs three conditions into one clause, which hurts readability but carries real content.

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?

Given an output schema and annotations that already flag the tool as destructive and non-idempotent, the description covers async semantics, scope of impact, and permission blocks well. The remaining gap is operational: it never says how to confirm that reconciliation finished or what the 'app' identifier format is.

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?

The only parameter is 'app' with 0% schema description coverage. The phrase 'this app's' implies that the parameter selects the target app, but the description never says whether it takes a name, an ID, or a slug, and it does not say whether the value must be enrolled. It adds a little meaning beyond the bare schema, but not enough to compensate for the coverage gap.

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 and resource: 'Queue restart of this app's TSLink gateway node on daemon reconciliation.' It also immediately contrasts that with what is not restarted (the third-party app process) and what is not installed (a daemon), so an agent can tell this apart from a general process-restart tool without inspecting any schema.

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 clearly says when not to expect this tool to work: reduced operators cannot restart a public Funnel app, and HTTP MCP public-app changes need the current portal owner or a home gateway. It gives no alternative tool to call when those conditions block the restart, so the routing guidance is strong but not complete.

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