Skip to main content
Glama
hharte

DLI Power Switch MCP Server

by hharte

update_outlet

Update an outlet's name, description, or type on a DLI power switch to reconfigure device definitions.

Instructions

Updates the definition of an outlet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
switch_idYes
outlet_idYes
new_nameNo
new_descriptionNo
new_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only states 'Updates the definition' without disclosing behavioral traits like side effects, required permissions, or what happens if the outlet does not exist. The presence of an output schema is not mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (one sentence) but lacks structure. It is not front-loaded with key information beyond the basic purpose. While brevity is valued, it omits important details that could fit in a similar space.

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

Completeness2/5

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

Given the tool has 5 parameters (2 required, 1 enum) and an output schema, the description is insufficient. It does not explain the return value, any constraints, or the context of when this update is applicable. Without annotations, more completeness is expected.

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?

Schema description coverage is 0%, and the description does not add any meaning to the parameters. It fails to explain the purpose of switch_id, outlet_id, new_name, new_description, or new_type beyond what the schema already provides.

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 tool updates an outlet definition, using a specific verb and resource. It distinguishes from siblings like list_outlets (read-only) and power_action (operational). However, it does not specify which aspects of the definition are updated, though the schema provides details.

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 tool versus alternatives like add_switch or group_power_action. Lacks context on prerequisites or when not to use.

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/hharte/dli-mcp-server'

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