Skip to main content
Glama

Install Arduino CLI

install_arduino_cli
DestructiveIdempotent

Install and configure arduino-cli on your system using package managers, then verify the CLI path is ready for Arduino workflows.

Instructions

Attempt to install arduino-cli for the current OS using available package managers, then verify and configure CLI path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoInstall method. Default `auto` tries OS-relevant methods in order.
setCliPathInProcessNoIf true (default), set ARDUINO_CLI_PATH in this MCP process after install.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
rawNo
dataNo
noteNo
errorNo
stageNo
statusNo
commandNo
rawTailNo
errorCodeNo
retryableNo
nextActionsNo
reasonCodesNo
Install Server

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive, open-world, and idempotent behavior; the description adds useful specifics: installation is attempted (may fail), package managers are involved, and a CLI path is configured after install. It does not detail every system-level side effect, but the annotation baseline lowers the burden.

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?

One compact sentence with the main action front-loaded and the post-steps appended. Every phrase earns its place; no filler or schema repetition.

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?

For a tool with only two optional, fully described parameters, an output schema, and annotations covering safety profile, this is largely complete. The remaining gap is implicit guidance about when installation is needed and what conditions (e.g., available package manager) must hold, but the method enum and 'attempt' wording mitigate that.

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% and both parameters have descriptive definitions, so the baseline is 3. The description does not need to add parameter meaning; any additional detail would be redundant.

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 uses a specific verb and resource ('install arduino-cli'), scopes it to the current OS, and adds follow-up actions (verify and configure CLI path). This clearly separates it from sibling tools like ensure_core_installed, which handles cores rather than the CLI itself.

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 the use case: when arduino-cli needs to be installed on the current OS via package managers. However, it does not explicitly state when not to use it, mention prerequisites such as admin rights, or contrast it with alternative install-related siblings.

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

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/akshatnerella/arduino-mcp-server'

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