Skip to main content
Glama
pkistudio

PKI Studio MCP

Official
by pkistudio

Create Self-Signed Certificate

create_self_signed_certificate

Generate a self-signed X.509 certificate by providing a private key, public key, and subject DN. Supports custom hash algorithm, validity period, key usages, and encoding.

Instructions

Create a self-signed X.509 certificate from a PKCS#8 private key, SPKI public key, and subject DN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
privateKeyYesPKCS#8 private key as DER, PEM, HEX, or base64 text.
privateKeyFormatNoInput format. Defaults to auto detection.
publicKeyYesSPKI public key as DER, PEM, HEX, or base64 text.
publicKeyFormatNoInput format. Defaults to auto detection.
subjectDnYesSubject DN, for example CN=example.com, O=Example, C=JP.
hashAlgorithmNoHash algorithm for signing.SHA-256
validityDaysNoCertificate validity period in days.
keyUsagesNo
encodingNoOutput encoding for DER or value bytes.hex
Behavior2/5

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

No annotations provided, so description must disclose behaviors beyond creation. It does not mention validation of key pair, potential errors, side effects, or output details. Essential behavioral traits are missing.

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?

Single sentence that front-loads the purpose with no extraneous words. Every word is necessary.

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?

Despite high schema coverage, the description omits context about optional parameters (hashAlgorithm, validityDays, etc.) and does not explain the output or use case for self-signed certificates. Leaves gaps for the agent to infer.

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 covers 89% of parameters with descriptions. The description adds minimal value beyond the schema, only repeating 'PKCS#8 private key' and 'SPKI public key' which are already in schema. Baseline 3 is appropriate.

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?

Description clearly states the verb 'Create' and resource 'self-signed X.509 certificate', listing the three required inputs (PKCS#8 private key, SPKI public key, subject DN). This distinguishes it from sibling tools like create_csr or generate_key_pair.

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 explicit guidance on when to use this tool versus alternatives (e.g., create_csr for CA-signed certificates). The description only states what it does without providing context for appropriate use.

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

Install Server

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/pkistudio/pkistudiomcp'

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