Skip to main content
Glama
midnight-devnet-mcp

midnight-devnet-mcp

by devrelaicom

restart-network

Restart the local Midnight Network devnet, optionally pulling Docker images and removing volumes for a clean-slate reset.

Instructions

Restart the network. With removeVolumes, performs a clean-slate restart.

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": "restart-network"
  }
}

Input Schema

NameRequiredDescriptionDefault
pullNoPull latest Docker images
removeVolumesNoRemove volumes for clean restart

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the important behavioral nugget that removeVolumes wipes volumes for a clean-slate restart, but says nothing about expected downtime, in-flight request handling, or permissions for a disruptive operation.

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 short sentences, front-loaded with the action and immediately followed by the one behavioral caveat. No wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-boolean mutation tool with no annotations and no output schema, the definition covers the action and the destructive option but omits the disruption/downtime expectations and return behavior an agent would want before triggering a network restart.

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 coverage is 100%, so the baseline is 3. The description marginally reinforces removeVolumes ('clean-slate restart') but leaves 'pull' entirely unaddressed and adds no format or interaction details beyond the schema.

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?

States a specific verb and resource ('Restart the network') in the first sentence, which an agent can distinguish from start-network/stop-network. It stops short of explicitly contrasting itself with those siblings, so it is clear but not fully differentiated.

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?

Implies the operation is a restart and hints that removeVolumes is the clean-slate variant, but gives no explicit when-to-use/when-not guidance, no prerequisites, and no contrast with stop-then-start or network-status workflows.

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