Skip to main content
Glama
egn88

Build Runner MCP Server

by egn88

compile_project

Compile Java projects with Maven or Gradle, returning structured error and warning details to simplify build debugging.

Instructions

Compile a Java project using Maven or Gradle. Returns structured error/warning information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cleanNoRun clean before compile (default: false)
moduleNoModule(s) to include/exclude (e.g., "core,api" or "!slow-tests" or "core,!tests")
alsoMakeNoBuild required dependencies with -am flag (default: true, Maven only)
javaVersionNoJava version to use (e.g., "17.0.16-amzn", "21.0.8-tem")
projectPathYesPath to the project root directory
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It does add useful output behavior by stating that the tool returns structured error/warning information, but it does not disclose side effects such as writing build artifacts, downloading dependencies, or the time/network implications of compilation.

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?

The description is a single, front-loaded sentence with no fluff. The key action and build systems are stated first, and the output behavior is included without unnecessary detail.

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?

Given no annotations and no output schema, the description is too sparse to be fully actionable. It does not explain how the tool chooses between Maven and Gradle, what the structured error/warning output contains, or how this tool relates to build_project and install_project, so an agent lacks important context for reliable invocation.

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 the input schema already documents all five parameters clearly. The description adds no additional parameter-level meaning, so the baseline score of 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?

The description clearly states the tool compiles a Java project using Maven or Gradle, which is a specific verb and resource. However, it does not distinguish compile_project from sibling tools like build_project or install_project, so the differentiation is incomplete.

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?

The description implies when to use the tool: when you need to compile a Java Maven/Gradle project. It gives no explicit guidance about when not to use it, no alternatives, and no mention of prerequisites like detect_project or set_java_version, leaving the choice among sibling build tools to inference.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/egn88/build-runner-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server