Skip to main content
Glama

Run Nix Application

run

Execute a Nix flake application directly without installing it, passing arguments after -- as an array rather than through a shell.

Instructions

Run a flake application without installing it. Application arguments are passed as an array after --, never through a shell.

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": {
      "installable": "<installable>"
    },
    "name": "run"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory under an MCP workspace root.
coresNo
impureNo
systemNo
maxJobsNo
offlineNo
refreshNo
buildersNo
argumentsNo
showTraceNo
inputsFromNo
installableYes
overrideInputsNo
printBuildLogsNo
timeoutSecondsNo
acceptFlakeConfigNo

Output Schema

NameRequiredDescriptionDefault
runIdYes
statusYes
outputsYes
summaryYes
diagnosticsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, open-world operation, so the safety profile is covered. The description adds one genuinely useful behavioral fact — arguments bypass the shell — but says nothing about timeouts, offline/impure modes, rebuild or network effects, or what the run returns despite openWorldHint=true.

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 with zero padding, and the core purpose is front-loaded ahead of the invocation convention. It is efficiently written, though the second sentence spends the scarce budget on one parameter rather than on the tool's overall behavior.

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

Completeness2/5

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

An output schema exists so return values need no explanation, but a 16-parameter, open-world execution tool demands more than two sentences. The most consequential flags (impure, offline, inputsFrom, timeoutSeconds, overrideInputs) are left entirely to an almost-undocumented schema.

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

Parameters2/5

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

Schema coverage is only 6% across 16 parameters, so the description must compensate and does not: it explains only "arguments" (array passed after --). Concepts like installable, inputsFrom, overrideInputs, impure, offline, acceptFlakeConfig, and timeoutSeconds carry no meaning in the description.

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?

"Run a flake application without installing it" gives a clear verb and resource, plus a distinguishing note (no installation) that separates it from build/develop-style siblings. It does not name any sibling explicitly, so differentiation is implied rather than stated.

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 never says when to choose this over build, command, develop, or check, nor does it mention prerequisites such as flake availability, network access for fetching inputs, or workspace placement. The only usage-like content is the argument-passing convention, which is about invocation form rather than tool selection.

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