Skip to main content
Glama

openwisp_create_template

Create a reusable NetJSON configuration template for OpenWISP devices to standardize settings and simplify device provisioning.

Instructions

[Category: Templates] Create a reusable configuration template in NetJSON format for OpenWISP devices. (HTTP POST /api/v1/controller/template/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTemplate title (e.g. Corporate Guest WiFi)
typeYesTemplate type
configYesNetJSON configuration payload object
backendNoConfig engine backendnetjsonconfig.OpenWrt
defaultNoAutomatically assign to new devices
organizationYesOrganization ID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3.1/5.0
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 of behavioral disclosure. It notes the HTTP POST endpoint but says nothing about authentication, side effects, idempotency, validation failures, or what happens on success.

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 a single compact sentence with a category tag and endpoint note. It is front-loaded and wastes little space, though the HTTP endpoint parenthetical is marginally redundant for an agent.

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?

For a mutation tool with no annotations and no output schema, the description is too sparse. It does not explain permissions, return values, or error behavior, and the agent must rely almost entirely on the input schema.

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%, so the schema already documents all six parameters and their meanings. The description's mention of NetJSON format adds minor context but largely repeats what the schema already states for the config parameter.

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 states a specific verb ('Create') and resource ('configuration template') and specifies the NetJSON format. The verb distinguishes it from sibling template tools such as list, get, update, patch, and delete.

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?

The description gives no when-to-use guidance, prerequisites, or alternatives. It only states what the tool does, leaving the agent to infer context from the name and siblings.

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

Deploy Server

Other Tools