Skip to main content
Glama

update_environment

Renames a device, and its measurements along with it. One machine has one name. The measurements carry a copy of it, so renaming here renames them too — leaving the old name on them would show the same machine twice in a list that groups by device. Its collector channels take the new name and group too in GET /api/coletas (inputs[]), and the group decides which dashboard tab the device is under. Send only what changes; what you omit stays. The detected environment is never rewritten: it is evidence of what that machine reported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDevice environment UUID v4; the report URL is a one-hour write capability.
nomeNoNew device name, 1–60 characters.
grupoNoNew group, up to 40 characters; empty clears it.

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?

With no annotations present, the description carries the full behavioral burden and does so thoroughly. It discloses cascading renames to measurements, effects on collector channels and dashboard tabs, partial-update semantics, and the fact that the detected environment is never rewritten—preventing a serious misassumption about immutable evidence.

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 longer than average but every sentence adds meaningful behavioral context, and the core action is front-loaded in the first sentence. The prose is dense but not padded, and the caveat about the detected environment is placed at the end where it reads naturally.

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

Completeness5/5

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

Given no annotations and no output schema, the description is unusually complete for a mutation tool. It covers the resource being changed, side effects, group/dashboard implications, partial-update semantics, and the one field that must never be rewritten. An agent has enough context to invoke the tool correctly and avoid common mistakes.

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

Parameters4/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. The description adds value beyond the schema by explaining the real-world effect of the name/group parameters, including how the group determines the dashboard tab and that the environment field is intentionally preserved. This exceeds the minimum baseline without being 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 opens with a specific verb and resource: it renames a device along with its measurements. It makes the scope and main behavior unmistakable and distinguishes this from generic CRUD updates by explaining that renaming cascades to measurements, collector channels, and dashboard grouping.

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 gives clear partial-update guidance: 'Send only what changes; what you omit stays.' It also explains the consequences of renaming. However, it does not explicitly state when to use this tool versus siblings like update_collection or create_environment, nor does it specify exclusions or prerequisites.

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