Skip to main content
Glama
Sanjit-K

FTC Toolchain

by Sanjit-K

Build, switch Wi-Fi, and deploy

wifi_deploy_start

Build and deploy TeamCode to a REV Control Hub by automatically switching Wi-Fi, installing the APK, and restoring the original network after completion.

Instructions

Build TeamCode while internet is available, start a local background job that switches macOS or Windows to a saved Control Hub Wi-Fi profile, connects ADB, installs the APK, restarts Robot Controller, and restores the original Wi-Fi even after failure. Returns before the network switch so the AI can receive the job ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cleanNoRun :TeamCode:clean before building
dryRunNoPreview the build, Wi-Fi, ADB, APK, and return-network plan without changing anything
homeSsidNoSaved internet Wi-Fi network to restore; defaults to the currently connected SSID
platformNoPreview override for dryRun; real jobs must match the host OS
robotHostNoControl Hub host; default 192.168.43.1
robotPortNoADB TCP port; default 5555
robotSsidYesSaved Control Hub Wi-Fi network name. Connect to it manually once before using this tool
stacktraceNoInclude Gradle stacktrace details on build failure
projectPathNoPath to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project.
delaySecondsNoSeconds before Wi-Fi switches, allowing the tool response to reach the AI; default 10
timeoutSecondsNoGradle build timeout; default 600 seconds
Behavior4/5

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

With no annotations, the description carries full burden. It outlines the full sequence of actions and notes that Wi-Fi restoration happens even after failure. It also mentions the background job and early return. Could add more detail on build failure handling, but it is fairly transparent.

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 concise, front-loading the key actions, and every sentence contributes meaningful information. No wasted words.

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's complexity (11 parameters, no output schema), the description covers the main workflow and mentions the important detail of returning before network switch. It could mention what the job ID is used for (likely with wifi_deploy_status), but it is sufficiently complete for an agent to understand.

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?

The input schema covers all 11 parameters with descriptions. The tool description adds minimal parameter context beyond what the schema provides, but it does mention the job ID return and the 'dryRun' preview feature, which adds value. Baseline 3 is appropriate given full schema coverage.

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 tool's purpose: builds TeamCode, switches Wi-Fi to a Control Hub profile, deploys APK, restarts Robot Controller, and restores original Wi-Fi. It distinguishes from siblings by specifying the Wi-Fi switching and background job, which is unique among the sibling tools.

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 description implies usage for deploying to a robot over Wi-Fi with network switching, and mentions returning before network switch so AI can get job ID. However, it does not explicitly state when to use this tool versus alternatives like build_and_deploy or deploy_robot.

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