Skip to main content
Glama
homelab-admin

BetterTouchTool MCP Server

btt_set_variable

Idempotent

Set variables in BetterTouchTool to store and manage data for automation workflows, with options for persistent or runtime-only storage.

Instructions

Set a BTT variable to a specified value.

Variables can be persistent (survive BTT restart) or runtime-only.

Args:
    params: Variable name, value, type, and persistence setting.

Returns:
    Confirmation of variable being set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description adds valuable behavioral context beyond annotations: it explains persistence behavior (surviving BTT restart vs runtime-only) and mentions the return value confirmation. Annotations already indicate idempotentHint=true and destructiveHint=false, but the description provides specific implementation details about persistence that aren't captured in structured fields.

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 well-structured with clear sections: purpose statement, behavioral context, Args, and Returns. Each sentence earns its place, though the Args section could be more informative. The information is front-loaded with the core purpose stated first.

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 that there's an output schema (which handles return values) and annotations provide safety/behavior hints, the description covers the essential aspects: what the tool does, persistence behavior, and basic parameter overview. For a tool with good structured data support, this description provides adequate contextual information without being overly verbose.

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

Parameters2/5

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

With 0% schema description coverage, the description carries full burden for parameter documentation. While it mentions 'Variable name, value, type, and persistence setting' in the Args section, this is just a list without explaining what each parameter means, their formats, or how they interact. The schema provides detailed descriptions, but the tool description itself adds minimal semantic value beyond naming the parameters.

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 states the action ('Set a BTT variable') and the target ('to a specified value'), providing a specific verb+resource combination. It distinguishes from siblings like 'btt_get_variable' by focusing on setting rather than retrieving. However, it doesn't explicitly contrast with other variable-related tools if they exist.

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 mentions that variables can be persistent or runtime-only, which provides some context for when to use persistence settings. However, it doesn't explicitly state when to use this tool versus alternatives like 'btt_update_trigger' or 'btt_set_clipboard', nor does it provide clear exclusions or prerequisites for usage.

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/homelab-admin/bettertouchtool-mcp-server'

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