Skip to main content
Glama

Set active equipment

set_active
Idempotent

Switch the active bean, grinder or machine for this account. The numbers come from list_beans, list_grinders and list_machines. Registering something already makes it active, so use this to switch back to something that exists, not after register_coffee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bean_idNoThis account's own bean number, as returned by list_beans. Never guess one; null = leave unchanged
grinder_idNoThis account's own grinder number, as returned by list_grinders. Never guess one; null = leave unchanged
machine_idNoThis account's own machine number, as returned by list_machines. Never guess one; null = leave unchanged
program_idNoA program number from the active machine's list. null = leave unchanged

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
messageYes

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish mutation, idempotence, and non-destructiveness; the description adds useful domain context: registering something automatically makes it active, so set_active is for switching to existing entries. It does not contradict annotations. This extra context goes beyond what the annotations alone convey.

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?

Three short sentences, front-loaded with the verb and object, followed by the source rule and a usage caveat. No filler or repetition of annotation fields.

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?

The description plus rich schema and annotations covers selection and safe invocation for bean/grinder/machine, and the output schema removes return-value ambiguity. The only notable gap is that program_id is missing from the description, so an agent focused on programs might not recognize set_active as the right tool.

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 100%, so the baseline is 3; each param already carries an exact source and null semantics. The description's 'numbers come from list_*' note reinforces the schema but mainly duplicates it, and it omits the program_id source (active machine's list).

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?

States a clear action ('Switch the active bean, grinder or machine') with account scope, and the source-of-truth sentence distinguishes it from list_* and register_* siblings. However, it omits program_id, which the schema lists as a settable field, so the stated resource set is incomplete.

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?

Explicitly tells the agent when to use it ('switch back to something that exists') and when not to ('not after register_coffee'), naming the list_* tools as the source for valid IDs. It doesn't mention how to handle the program_id case, but the other guidance is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools target a clearly distinct resource and action, and the list/register/update/set tool families are easy to tell apart. The closest pair is diagnose_preview and diagnose_shot, which are well-described but similar enough in name that an agent could select the wrong one.

Naming Consistency4/5

The overwhelming majority of tools follow a consistent verb_noun pattern (list_beans, register_grinder, update_shot, set_active). Minor exceptions like grinder_math and kb_changelog lack the imperative verb prefix, but they are readable and do not create real confusion.

Tool Count2/5

34 tools is above the 25+ threshold and feels heavy even though the domain is fairly rich. The many parallel list_* and register_* tools for beans, grinders, machines, scales, waters, programs, and recipes could plausibly be consolidated or trimmed without losing core capability.

Completeness3/5

The core shot lifecycle is well covered: log, update, delete, diagnose, and list shots, plus bean registration and maintenance tracking. However, most registered entities lack update/delete tools, and get_rule has no corresponding list_rules tool, leaving some obvious workflow gaps that agents must work around.

Resources