Skip to main content
Glama
woofdogtw
by woofdogtw

unit_create

Create a unit in the IoT platform, automatically assigning the calling user as owner. Use this tool to register a unit by providing a unique code and optional name or info.

Instructions

Create a unit. The calling user becomes the owner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesUnit code, pattern [A-Za-z0-9][A-Za-z0-9-_]*. Lowercased.
infoNoOther information.
nameNoDisplay name.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It adds a real behavioral consequence beyond the verb: the calling user becomes the owner. It does not cover duplicate-code handling, permission requirements, or return behavior, but the ownership context is genuine added value.

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?

The description is two short sentences with zero filler. The action is front-loaded and the ownership consequence is placed right after, so an agent can quickly understand the tool.

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?

For a create operation with no output schema and no annotations, it would be helpful to state what the call returns, such as a generated unit ID, and whether duplicate codes cause an error. The ownership statement partially compensates, but the missing return and error behavior leaves the description incomplete.

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 schema already documents code, name, and info including the code pattern and lowercasing. The description adds no parameter-specific meaning, but none is needed because the schema handles the semantics.

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 names a specific action and resource: 'Create a unit.' It also adds a meaningful consequence, ownership by the calling user, which distinguishes this from other unit_* operations. The create verb clearly separates it from unit_get, unit_update, unit_list, and unit_delete.

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 implies this tool is for creating a brand-new unit, and the ownership note gives useful context. However, it does not explicitly say when not to use it or point to alternatives such as unit_update for modifying an existing unit. The usage guidance is mostly left to inference from the tool name.

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

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/woofdogtw/sylvia-iot-mcp'

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