Skip to main content
Glama
oliveres

chirpstack-mcp-server

by oliveres

device_set_keys

Destructive

Create or replace OTAA root keys for LoRaWAN devices. For 1.0.x devices, set the AppKey as the network key.

Instructions

Create or replace the OTAA root keys. LoRaWAN 1.0.x devices use nwk_key only (their AppKey goes in nwk_key).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_keyNo
dev_euiYes
nwk_keyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the description's 'Create or replace' aligns with the expected mutation behavior. It adds useful context about LoRaWAN 1.0.x key semantics, but it doesn't disclose whether replacing keys invalidates active sessions or has other operational consequences. The annotation covers the destructive nature, so this is adequate but not rich.

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 sentences, no filler, and the core purpose is front-loaded. The version-specific caveat is compact and directly useful for correct invocation.

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 3-parameter mutation tool with destructive annotations and an output schema, the description covers the key nuance (LoRaWAN 1.0.x key placement) that an agent needs to call it correctly. It could add a note about impact on existing sessions, but the essentials are present.

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 0%, so the description must compensate. It meaningfully explains that nwk_key carries the AppKey in LoRaWAN 1.0.x and implies app_key can be left empty for those devices. dev_eui's meaning is inferable from its name. This is good semantic help, though full value/format details are still left to the agent.

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 states a specific action ('Create or replace') and a specific resource ('the OTAA root keys'), so an agent knows what the tool does. It doesn't explicitly distinguish this from siblings like device_activate or device_update, but the OTAA key focus is clear enough for selection.

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?

There is no guidance about when to use this tool versus alternatives. The LoRaWAN 1.0.x note hints at a common scenario, but it doesn't say 'use this when provisioning OTAA keys' or mention when device_create/device_update/device_activate would be more appropriate.

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

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/oliveres/chirpstack-mcp-server'

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