Skip to main content
Glama

openwisp_get_ca

Fetches details of a Certificate Authority (CA) by its UUID or ID. Helps inspect CA configuration in OpenWISP.

Instructions

[Category: Certificates & VPN] Get CA details. (HTTP GET /api/v1/controller/ca/{id}/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCA UUID or ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose the underlying HTTP GET and the /ca/{id}/ endpoint, which confirms read-only, no-side-effect semantics. However it says nothing about authentication needs, behaviour for an unknown/invalid id, or what the returned CA details contain.

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?

A compact one-liner with the purpose front-loaded before the endpoint annotation. Every element is short and readable, though the raw HTTP path adds little for an agent already given the tool name.

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 one-parameter read there is little to explain, but with no output schema and no annotations the description leaves the shape of the returned CA details entirely unspecified. Minimum viable, not complete.

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% and the single 'id' parameter is documented there as a 'CA UUID or ID'. The description adds nothing beyond the endpoint template restating the same id, so the baseline 3 applies.

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?

States a specific verb and resource ('Get CA details') and the category prefix places it in the Certificates & VPN domain, which distinguishes it from the many device/location/template siblings. It doesn't explicitly name the neighbouring CA tools (list_cas, update_ca, delete_ca), but the name-plus-verb is unambiguous.

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 when-to-use guidance, no exclusions, no pointer to alternatives such as openwisp_list_cas for enumeration or openwisp_get_cert for certificates. The agent must infer that this is the single-CA lookup by name alone.

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