Skip to main content
Glama

set_device_input_active

Pauses or resumes one collector channel. Pausing keeps the channel, its credential and its configuration: batches the collector sends while paused are accepted and discarded, so nothing is stored or measured and the collector does not retry in a loop. Resuming stores the next batch again. The input central changes only a channel of the same owner, including one whose device was already deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDevice environment UUID v4; the report URL is a one-hour write capability.
activeYesfalse pauses, true resumes.
collectorYesalloy, telegraf, opentelemetry, ncpa, collectd or snmp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full disclosure burden – and it does so thoroughly. It reveals that paused batches are accepted and discarded, nothing is stored or measured, no retry loop occurs, resuming stores the next batch, only same-owner channels are affected, and the operation works even when the device was already deleted. This is exemplary behavioral disclosure for an unannotated mutation tool.

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 sentences with zero waste: the core purpose is front-loaded in the first sentence, the second delivers dense behavioral detail that earns its length given the absence of annotations, and the third covers an important edge case (deleted devices and ownership). Every sentence contributes unique value.

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 state-transition tool with no annotations and no output schema, the description covers an impressive range: pause semantics, resume semantics, batch handling, retry behavior, ownership constraint, and the deleted-device edge case. What remains unstated is the response/return format, permission requirements, and behavior on already-paused or non-existent channels – minor but real gaps.

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%, so the schema already documents all three parameters, including the active field's 'false pauses, true resumes.' The description adds marginal meaning by tying 'pauses/resumes' to the active parameter and 'one collector channel' to the collector field, but it does not meaningfully go beyond the schema. Baseline 3 is appropriate.

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?

Opens with 'Pauses or resumes one collector channel' – a specific verb (pause/resume) and resource (collector channel) that immediately differentiates it from siblings like create_device_input, delete_device_input, and list_device_inputs. The follow-up details about what pausing does further pin down the exact operation.

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 gives clear context for when this tool is appropriate: pausing is non-destructive (keeps credential and configuration, discards batches without retry loops), which signals it is for temporary suspension rather than removal. It does not explicitly name alternatives or state when-not-to-use, so it falls short of a 5, but the behavioral context is strong enough to guide selection.

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.

Resources