Skip to main content
Glama
pkistudio

PKI Studio MCP

Official
by pkistudio

Create ASN.1 Instance

create_asn1_instance

Build DER bytes from a JSON instance and a selected ASN.1 type, using a definition text or schema model.

Instructions

Build DER bytes from JSON instance input and a selected type in a supported ASN.1 definition subset or Schema Model JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
definitionNoSupported ASN.1 definition subset text. Provide this or schema.
schemaNoASN.1 Instance Builder Schema Model JSON. Provide this or definition.
typeNameYesDefined ASN.1 type name to validate or build.
inputYesJSON instance input for the selected type.
encodingNoOutput encoding for DER or value bytes.hex
includeDerSummaryNoInclude a compact parse summary of the generated DER.
Behavior2/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as side effects, authentication requirements, or error handling. This is a significant gap.

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 sentence and concise, but it could be better structured with bullet points or more details. It is not overly verbose.

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?

Given the complexity of ASN.1 and DER encoding, the description is too brief. It does not explain the interaction between 'definition' and 'schema', nor the output format. A more complete description is needed.

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 each parameter is well-described in the schema. The tool description adds no additional meaning beyond the schema, meeting the baseline of 3.

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 clearly states the action ('build'), the output ('DER bytes'), and the inputs ('JSON instance input' and 'selected type'). It effectively distinguishes from sibling tools like parse_asn1 or validate_asn1_instance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for creating DER bytes but lacks explicit guidance on when not to use it or mention alternatives. Given the numerous sibling tools, more specific context would help.

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