Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Build Project

build_project
Destructive

Runs a project build inside a sandbox, auto-detecting the build system or using your explicit command, and returns parsed diagnostics for quick troubleshooting.

Instructions

Build a project inside the sandbox. When no command is supplied, the build system is auto-detected (npm run build, cargo build, go build, cmake/make, maven, gradle, dotnet). Returns parsed diagnostics.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments for the explicit command.
pathNoProject directory relative to the workspace root (default ".").
commandNoExplicit build command (overrides auto-detection).
timeoutMsNoTimeout in milliseconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is supplied. The description adds real value with the sandbox framing and the concrete auto-detection list, but it never warns that a build writes artifacts or explain timeout behavior; the meaning of 'parsed diagnostics' is left vague.

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 short sentences with the core action front-loaded followed by the default behavior and the return value; no filler. The parenthetical enumeration of build systems is long but earns its place by telling the agent what detection covers.

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 no output schema, the description correctly spends a sentence on the return value ('parsed diagnostics'). For a 4-parameter destructive tool with full schema coverage and rich annotations, the only real gaps are timeout semantics and whether artifacts persist in the sandbox.

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% and each of the four parameters is already documented, including that 'command' overrides auto-detection. The description reinforces which build systems get detected but adds nothing for 'args', 'path' or 'timeoutMs' beyond the schema, so baseline 3 applies.

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 ('Build a project') and adds the sandbox scope plus the auto-detection list, so an agent knows exactly what operation runs. It never names the closest sibling (debug_project) to draw the boundary, so it falls 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 Guidelines3/5

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

Gives implicit usage framing by explaining that omitting 'command' triggers auto-detection, which tells the agent the default path. It never says when to prefer building over debugging or when this tool is inappropriate, and no prerequisites (dependencies installed, workspace state) are stated.

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

Deploy Server

Other Tools