Skip to main content
Glama

ai_build

Compile MIT App Inventor projects to APK or AAB and check build status; blocks compilation when the editor reports block errors unless a preflight skip is requested.

Instructions

Compile: apk/aab/status. Refuses to build while the editor reports block errors (pass skipPreflight to force).

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": "ai_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoAbsolute destination path
actionNoWhat to do
skipPreflightNoBuild even with block errors
timeoutSecondsNoCompile timeout, default 240

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Since no annotations were provided, the description carries the full burden of behavioral transparency. It successfully discloses the critical behavioral trait of refusing to build when block errors exist, which is crucial operational context.

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 definition is highly concise and structurally sound. It is front-loaded, using a clear 'Action: Scope' format followed by a critical operational caveat, ensuring no word is wasted.

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?

The combination of the input schema and the description is largely complete for a build utility. The description covers the major functional limitations and necessary bypasses, leaving no ambiguity for the agent regarding error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While schema coverage is 100%, the description adds significant semantic value by explaining the functional consequence of the `skipPreflight` parameter. It clarifies that this parameter is specifically to bypass the build refusal logic based on editor errors.

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 identifies the purpose as 'Compile' and lists the supported outcomes (apk/aab/status). While it lacks a full resource name, the 'Compile' verb coupled with the supported actions makes the purpose clear.

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 provides excellent guidance on when the tool will *not* function under normal conditions (editor reports block errors). It explicitly advises the user on the correct usage to force the build (`pass skipPreflight to force`), effectively defining the conditions for success and failure.

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