Skip to main content
Glama

Apply project

nerdit_apply_project
Destructive

Apply an existing project by immutable ID with machine consent. Start with dry_run=true; waiting_for_variables means ask the human to supply the missing keys locally, never in chat. Applied means accepted, not healthy; check get_project or diagnose_project. Project-only consent cannot apply because builds share the machine image store. No rollback across services. Local ownership restrictions still apply. A hosted box sleeps after a period without activity and wakes on the next call to it, which may wait or ask you to call again; while it sleeps nothing inside it runs (bots, queue workers and webhook receivers stop) except that a declared schedule can wake it shortly before its next run, and it cannot be set to stay on. Right after a wake its services come back one after another for up to a couple of minutes: a service that is not ready yet is not broken, wait and call again.

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": {
      "project_id": "<project_id>"
    },
    "name": "nerdit_apply_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoGit ref; only with repo_url.
dry_runNoValidate and plan without deploying or writing.
repo_urlNoHTTPS Git repository for machine consent; project-only consent cannot apply.
token_refNoRepository credential reference, never a token; only with repo_url.
project_idYesImmutable project ID from nerdit_list_projects; never its name or slug.
idempotency_keyNoReuse this key when retrying the same write; omitted keys are minted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructive=true and openWorld=true, but the description adds substantial context beyond them: no rollback across services, local ownership restrictions, that "applied" means accepted rather than healthy, and detailed sleep/wake semantics including which workloads stop and how long services take to return. This is genuinely useful operational disclosure for a destructive apply.

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?

The action and the dry-run-first instruction are front-loaded, and most sentences carry a distinct behavioral fact. The hosted-box sleep/wake paragraph is long and only situationally relevant, which keeps it from a 5, but it is not padding.

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

Completeness5/5

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

With no output schema and a destructive, open-world operation, the description covers what an agent needs: sequencing, consent constraints, irreversible scope, the meaning of the applied outcome, worker behavior during sleep, and where to verify health afterward.

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%, so every parameter is already documented in the input schema, including ref/token_ref coupling to repo_url and the idempotency_key retry rule. The description reinforces dry_run and consent but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Apply an existing project") plus the addressing rule ("by immutable ID") and the consent model ("with machine consent"). It also names the follow-up siblings get_project and diagnose_project, so an agent can separate applying from inspecting without opening another schema.

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

Usage Guidelines5/5

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

Gives an explicit starting protocol ("Start with dry_run=true"), defines how to interpret the waiting_for_variables outcome and how to escalate to a human, and names the alternative tools for post-apply verification. It also states a hard exclusion: project-only consent cannot apply.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources