Skip to main content
Glama

openwisp_create_ca

Create or import a certificate authority in OpenWISP to issue and manage certificates for VPN and network devices.

Instructions

[Category: Certificates & VPN] Create or import a certificate authority. (HTTP POST /api/v1/controller/ca/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCA name
certificateNoPEM certificate for import
private_keyNoPEM private key for import

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

C2.9/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 behavioral burden. It discloses only the HTTP method and endpoint; it says nothing about required permissions, whether imported certs are validated, what the server generates when certificate/private_key are absent, or anything about the response.

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?

Two compact fragments: a category tag for routing plus one action sentence. Nothing is wasted, and the action precedes the endpoint detail. The category prefix is boilerplate but aids discovery.

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 mutation tool with no annotations and no output schema, the definition is minimally viable: the purpose is clear and all parameters are schema-documented. It stops short of explaining the conditional create/import behavior and any mutation side effects, which an agent would need before calling it confidently.

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 coverage is 100%, so the schema already documents name, certificate, and private_key. The description hints at the create-vs-import distinction that maps onto the two optional parameters, but adds no format or conditional details beyond the schema, matching the baseline 3 for fully covered schemas.

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 gives a specific verb+resource: 'Create or import a certificate authority', and the endpoint note (HTTP POST /api/v1/controller/ca/) confirms the target resource. It is clearly distinct from openwisp_create_cert, openwisp_update_ca, and openwisp_get_ca, though it does not explicitly name any sibling to differentiate.

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?

'Create or import' implies two modes but never states the condition that selects one (e.g. supplying certificate+private_key triggers import, omitting them triggers generation). There is no when-to-use guidance and no reference to alternatives such as openwisp_update_ca or openwisp_create_cert.

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