Skip to main content
Glama

Run in Nix Development Shell

develop

Execute an argument-array command inside a project's Nix development shell to run project-specific tools and scripts with their dependencies available.

Instructions

Execute an argument-array command in a project dev shell. Use run for a flake app and build for a derivation.

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": {
      "command": "<command>"
    },
    "name": "develop"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory under an MCP workspace root.
coresNo
impureNo
systemNo
commandYes
maxJobsNo
offlineNo
refreshNo
buildersNo
showTraceNo
installableNo.
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

B3.2/5.0
Behavior2/5

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

Annotations already declare this is not read-only, is open-world, non-idempotent, and non-destructive. The description adds essentially nothing beyond that: it doesn't say the command runs with network/tool access, that it can mutate the workspace, that there is a default 1800s timeout, or what failure modes look like.

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 sentences, no filler, and the core behavior is front-loaded ahead of the sibling routing hint. Nothing is wasted or buried.

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 and annotations reduce the need to describe return values and safety, but a 15-parameter Nix tool with 7% schema coverage needs far more explanation of the build/network/purity knobs than this. An agent cannot tell from the definition what `impure`, `refresh`, or `overrideInputs` will do to its run.

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 description coverage is 7% across 15 parameters, so the description must compensate and largely doesn't. Its one useful contribution is "argument-array", clarifying the required command is an argv list rather than a shell string — but impure, offline, refresh, installable, overrideInputs, cores, maxJobs, builders, and timeoutSeconds all remain undocumented.

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?

"Execute an argument-array command in a project dev shell" gives a concrete verb (execute) and a scoped resource (command inside a dev shell), which separates it from plain command execution. It stops short of a full 5 because the dev-shell concept itself (what a 'project dev shell' resolves from) is never defined.

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 explicitly routes the agent to alternatives: "Use run for a flake app and build for a derivation." That is real when-to-use-else guidance. It lacks the inverse signal, though — when *not* to use develop, or what happens if a project has no dev shell.

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