Skip to main content
Glama

Development Server

varity_dev_server

Starts, stops, or checks the local development server and returns the localhost URL for previewing your app.

Instructions

Start, stop, or check the local development server. Returns the localhost URL for previewing the app.

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": {
      "action": "<action>"
    },
    "name": "varity_dev_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoProject directory (default: current working directory)
portNoPort to run the dev server on (default: 3000). If this port is busy, the server auto-selects the next available port and persists it to varity.config.json so future starts use the same port automatically. You can also set this explicitly (e.g. port: 3031) to always start on a specific port.
actionYesAction to perform: start, stop, or check status of the dev server

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-beta.24

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, openWorldHint=false, destructiveHint=false, so the safety profile is covered. The description adds that the call returns a localhost URL, which is genuinely useful given there is no output schema, but it omits whether 'start' blocks or returns immediately, what 'status' reports, and whether 'stop' is a no-op when nothing is running.

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?

Two short sentences, front-loaded with the action set and followed by the return value, with no filler. It could be slightly tighter by folding the return information into the first sentence, but nothing is wasted.

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 three-parameter lifecycle tool with no output schema, the description covers purpose and the URL return but leaves the semantics of each action's result (blocking vs. non-blocking start, what status yields) undocumented. An agent can call it, but cannot predict response behavior per action.

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%, including detailed port-collision and persistence behavior and a documented enum for action, so the schema carries the parameter burden. The description adds no meaning beyond the schema and does not mention path or port at all.

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 names a specific resource (the local development server) and the three verbs the tool supports (start, stop, check), so an agent knows exactly what domain it operates in. It stops short of differentiating itself from nearby siblings such as varity_deploy, varity_open_browser, or varity_doctor, which an agent may reasonably confuse with previewing/running an app.

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?

Usage is implied rather than stated: 'for previewing the app' hints at the local-preview scenario, and the action enum hints at the start/stop/status lifecycle. There is no explicit when-to-use versus varity_deploy (remote) or varity_open_browser, and no stated prerequisites such as whether dependencies must be installed first.

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