Skip to main content
Glama

build_set_project_mode

DestructiveIdempotent

Sets a project's build mode. 'dev' (default) allows a complete replace, which wipes app data and keeps credentials; 'live' makes a replace refuse, protecting production data. Inputs: project_uuid, mode. Returns the new mode.

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_uuid": "<project_uuid>",
      "mode": "<mode>"
    },
    "name": "build_set_project_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes'dev' permits build_replace_project (which still needs a domain-admin key and confirm_project_name); 'live' makes it refuse, protecting production data.
project_uuidYesProject UUID (from build_list_projects or build_create_project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mode / description
      Added value: +"'dev' permits build_replace_project (which still needs a domain-admin key and confirm_project_name); 'live' makes it refuse, protecting production data."
    • addedInput schema / properties / project_uuid / description
      Added value: +"Project UUID (from build_list_projects or build_create_project)."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, and the description adds meaningful consequence detail: dev wipes app data and keeps credentials while live blocks replacement. It is, however, ambiguous whether this tool itself destroys data or merely enables a later destructive build_replace_project, and it says nothing about required permissions for flipping the mode.

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?

Three compact sentences with the core action front-loaded and no filler. There is minor duplication between the description and the schema's mode description, but nothing that costs the reader.

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?

With only two fully documented parameters, no output schema, and rich annotations, the description covers the essentials and even states the return value ('Returns the new mode'). The remaining gap is whether changing the mode itself requires privileges such as the domain-admin key referenced for replace.

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 coverage is 100%, so both parameters and the mode enum are already documented in the schema; the description largely restates them. It does add one piece of information not in the schema - that 'dev' is the default - but that is a marginal gain over a fully documented schema.

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?

States a specific verb and resource ('Sets a project's build mode') and immediately defines what each of the two modes means, so the tool's effect is unambiguous. It does not explicitly differentiate itself from adjacent siblings like build_update_project, which keeps it just short of a 5.

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?

The dev-vs-live tradeoff ('dev' allows a full replace that wipes app data but keeps credentials; 'live' makes replace refuse) gives clear decision context for selecting a mode. There is no explicit when-to-use/when-not phrasing or named alternative tool, so it stops at 4.

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.