Skip to main content
Glama
Sanjit-K

FTC Toolchain

by Sanjit-K

Create a TeleOp with a separate bindings file

create_teleop

Create a TeleOp OpMode with separate controller bindings file so drivers can remap buttons without modifying robot logic. Define drivetrain, subsystems, button actions with hold/press/toggle modes, and optional slow mode.

Instructions

Generate a TeleOp OpMode PLUS a separate Controls.java that holds only the controller bindings, so a driver can remap buttons without touching robot logic or an LLM. Describe the drivetrain, which subsystems to use, button actions (hold/press/toggle → subsystem calls), an optional slow mode, and named automations (multi-step or sensor-driven behaviors, which are scaffolded as stub methods to fill in).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
driveNoDrivetrain wiring (default: mecanum). pedro* requires install_pedro.
groupNoOpMode group / package group (default: Competition)
dryRunNoValidate and preview the TeleOp and bindings files without writing them
actionsNo
slowModeNo
classNameYesTeleOp class name, e.g. CompTeleOp
overwriteNo
opModeNameNoDriver Station display name (default: class name)
subsystemsNoSubsystem class names to construct (must already exist)
automationsNo
packageNameNo
projectPathNoPath to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project.
Behavior3/5

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

With no annotations, the description carries full burden. It mentions file generation, use of existing subsystems, dry run, and stub creation. However, it omits details on overwrite behavior, failure modes, or authorization needs.

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?

The description is a single dense sentence that efficiently conveys the tool's purpose and usage. It could be slightly more structured, but it is concise without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 12 parameters and nested objects, the description provides a high-level overview but misses edge cases like overwrite behavior and validation details. It does not cover all behavioral aspects adequately.

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 58%, so the description adds some context but does not significantly enhance parameter understanding beyond the schema. It lists aspects to describe but lacks elaboration on individual parameters.

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 that the tool generates a TeleOp OpMode plus a separate bindings file, distinguishing it from sibling tools like create_opmode. It specifies the output files and their purpose.

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 explains when to use this tool (to create a TeleOp with separate bindings for driver remapping) and what to describe (drivetrain, subsystems, actions, etc.). It does not explicitly list when not to use it, but the context is clear.

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