Skip to main content
Glama
Sanjit-K

FTC Toolchain

by Sanjit-K

Build robot code

build

Compile FTC TeamCode module via Gradle assembleDebug. On success, returns APK path; on failure, extracts compiler errors.

Instructions

Compile the TeamCode module with Gradle (assembleDebug). Returns the APK path on success, or the extracted compiler errors on failure. First build can take several minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cleanNoRun :TeamCode:clean before assembleDebug
stacktraceNoInclude Gradle --stacktrace and return a longer failure tail
projectPathNoPath to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project.
timeoutSecondsNoBuild timeout in seconds (default 600)
Behavior4/5

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

No annotations exist, so the description carries full weight. It discloses the build process, success/failure outputs (APK path or errors), and a timing caveat. However, it does not mention side effects like overwriting previous builds or network requirements.

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?

Two sentences with no wasted words. Front-loaded with the main action, then details on outputs and timing. Ideal length.

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?

Given the tool has 4 parameters and no output schema, the description explains the key output (APK path or errors) and a caveat about first build time. Lacks details on default behavior for parameters like 'projectPath', but defaults are implied in schema descriptions.

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% with parameter descriptions. The description adds no extra meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description clearly states the action ('Compile the TeamCode module with Gradle') and the specific resource ('TeamCode module'). It distinguishes from sibling tools like 'build_and_deploy' and 'deploy' by focusing only on compilation without deployment.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. It mentions the first build being slow but does not specify scenarios where building without deploying is preferred, nor does it suggest alternatives.

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/Sanjit-K/ftc-toolchain'

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