Skip to main content
Glama

rename_device

Change a device's current name to a new name that no other device already uses.

Instructions

Rename a device. The new name must not be taken by another device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCurrent device name.
new_nameYesNew, unused device name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
kindYes
nameYes
modelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one useful behavioral rule — the new name must not collide with an existing device — but says nothing about failure behavior, permissions, or side effects on references to the device.

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?

Two short sentences, zero filler, with the action stated first and the constraint second. Nothing to trim.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and annotations carry the safety profile. However, for a mutation tool the description omits when-to-use and error/prerequisite context, leaving a modest gap.

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% and the two parameters ('name' as current device name, 'new_name' as unused device name) are fully documented in the schema. The description's uniqueness clause simply restates the constraint already given in the 'new_name' schema description, adding no new meaning.

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 specific verb and resource ('Rename a device'), which is unambiguous and distinct from siblings like remove_device or add_device. It doesn't explicitly contrast with rename_location, but the resource noun makes the target clear enough.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives, and no mention of prerequisites such as the device already existing or being part of the workspace. The uniqueness constraint is a rule, not usage guidance.

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