Skip to main content
Glama
microbit-makecode-mcp

microbit-makecode-mcp

run_simulator

Launch the on-screen micro:bit simulator to execute the current MakeCode program and inspect its behavior before saving or flashing.

Instructions

Start MakeCode's on-screen micro:bit simulator with the current program (use screenshot to see it).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It conveys that this is a stateful launch action tied to 'the current program', but says nothing about behavior if the simulator is already running, whether it requires an existing project, or whether it is idempotent.

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?

A single front-loaded sentence states the action, the scoping condition, and where to look next, with no wasted wording. The parenthetical hint is compact and directly actionable.

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 simple zero-parameter launcher with no output schema, the description covers what happens and how to observe the result. The main omission is precondition and repeat-call behavior, which matters somewhat for a stateful simulator start.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline applies. The description correctly implies no configuration is passed, since everything derives from 'the current program'.

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 uses a specific verb and resource ('Start MakeCode's on-screen micro:bit simulator') and clarifies the scope with 'with the current program', so the agent knows this launches the already-loaded code rather than flashing or connecting a device. It does not explicitly contrast itself with stop_simulator or status, so sibling differentiation is only implicit through the verb.

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 gives a clear condition of use ('with the current program') and routes the agent to the right sibling for observing results via '(use screenshot to see it)'. It stops short of stating when not to call it, such as when the simulator is already running and status should be checked first.

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