Skip to main content
Glama
doublegate

CyberChef MCP Server

by doublegate

cyberchef_cert_chain

Read-onlyIdempotent

Order a PEM certificate bundle into a valid chain and locate the break: missing intermediate, wrong order, expired link, or signature mismatch. Verifies every link cryptographically.

Instructions

Order a PEM bundle of X.509 certificates into a chain and report where it breaks: wrong order, a missing intermediate, an expired link, an issuer not permitted to sign, or an issuer whose name and key identifier match while its SIGNATURE does not — the shape of a substituted certificate. Every link is verified CRYPTOGRAPHICALLY: matching names and key identifiers are metadata, and anyone can mint a certificate carrying the ones they like. The three X.509 operations each parse ONE certificate and nothing relates two.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNoJudge validity at this instant (ISO 8601) instead of now. For asking whether a chain WILL be valid at a future date, or was at an incident's timestamp.
inputYesOne or more PEM certificate blocks, in any order. A concatenated bundle — the form `fullchain.pem` and most servers use — is the expected input.
expiry_warning_daysNoFlag any certificate expiring within this many days of the reference time.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv3.8.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description explains that every link is verified cryptographically and that matching names/key identifiers are only metadata, warning about substituted certificates. It also lists the distinct break conditions, adding meaningful behavioral detail that an agent could not infer from annotations or schema.

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?

Three purposeful, front-loaded sentences: purpose and failure modes, a cryptographic verification caveat, and a disambiguation from related operations. No filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex X.509 tool with no output schema, the description covers inputs, break-reporting behavior, cryptographic verification, and the single-certificate alternative. It stops short of specifying the exact success/error output shape, but enough is present for an agent to invoke it correctly.

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 input, as_of, and expiry_warning_days. The description reinforces the chain-ordering concept but does not add material parameter-level detail beyond the schema; the baseline of 3 applies.

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 opens with a specific verb and resource: 'Order a PEM bundle of X.509 certificates into a chain and report where it breaks.' It enumerates concrete failure modes and closes by contrasting itself with the other X.509 operations, so an agent can distinguish this chaining tool from single-certificate parsers.

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

Usage Guidelines4/5

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

The description makes the intended input context explicit: a PEM bundle in any order, such as fullchain.pem. The final sentence signals that this tool is for relating multiple certificates, while the other X.509 operations parse one certificate, giving implied when-to-use guidance, though it does not name the alternative tools directly.

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

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/doublegate/CyberChef-MCP'

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