Skip to main content
Glama

Restart the Playdate game

playdate_restart
Destructive

Reset a game's runtime state by restarting it in the Playdate Simulator. Use the process ID to select a specific simulator instance.

Instructions

Restart the currently loaded game, resetting its runtime state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoPositive Playdate Simulator process identifier when more than one is running.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalNo
stderrYes
stdoutYes
commandYes
exitCodeNo
timedOutNo
errorCodeNo
succeededYes
terminationYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this mutates state destructively. The description adds that the runtime state is reset, which is useful context, but it does not explain consequences such as loss of unsaved progress. No contradiction with annotations.

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?

The description is a single front-loaded sentence with no filler. It conveys the action, scope, and side effect efficiently.

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?

The tool is simple, has one optional parameter fully documented in the schema, and has an output schema. The description covers the core behavior and precondition of a currently loaded game, which is sufficient for an agent to invoke the tool correctly.

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 the pid parameter already described as a positive process identifier used when more than one simulator is running. The tool description adds no additional parameter guidance, so the baseline of 3 applies.

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?

The description states a specific verb and resource: restart the currently loaded game, resetting its runtime state. It is clear enough to distinguish from playdate_load and playdate_run, though it does not explicitly name a sibling.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus siblings like playdate_run, playdate_load, or playdate_set_paused. The intended use is implied by the name and description, but no exclusions or alternatives are mentioned.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pvzig/playdate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server