Skip to main content
Glama

mechacut

web_cert

X.509 certificate lint from PEM text, pure stdlib: subject/issuer, serial, validity window, signature algorithm with deprecation flags (SHA-1/MD5 named), SANs (dns/email/ip/uri), basicConstraints, EKUs, chain SHAPE (name-matching, not trust), warnings (expiring <14d, leaf without SAN, legacy versions). Time is an argument: pass as_of and the verdict replays forever; omit it and the chosen instant is echoed in evaluated_at. Parsed, NOT signature-verified — the response says so. Free under 32 KB (🟡).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pem": "<pem>"
    },
    "name": "web_cert"
  }
}

Input Schema

NameRequiredDescriptionDefault
pemYesPEM block(s), one or a chain
as_ofNoISO date/datetime fixing the expiry verdict

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

No annotations are provided, and the description carries the full burden well: it discloses that signatures are not verified, that chain checking is name-matching only, that the expiry verdict depends on as_of and is echoed in evaluated_at, and that there is a 32 KB cost boundary. It also pre-announces deprecation flags and warning thresholds, so the agent can anticipate output semantics.

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?

Single dense paragraph, front-loaded with the verb and resource, and every clause adds information. It leans telegraphic (em-dash fragments, '🟡', 'chain SHAPE'), which costs a little readability but not correctness.

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?

With no output schema, the description must enumerate what comes back, and it does: subject/issuer, serial, validity window, signature algorithm with flags, SANs, basicConstraints, EKUs, chain shape, warnings, evaluated_at. The exact response envelope is unspecified, but an agent has enough to call and interpret it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds meaning: pem may be one certificate or a chain, and as_of is framed as a deterministic replay control whose omission changes what instant is used and echoed back. That is genuine semantics beyond the schema's terse field notes.

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?

Names a specific verb and resource ('X.509 certificate lint from PEM text') and immediately scopes it: pure stdlib, parsed not verified, chain shape not trust. An agent knows exactly what class of operation this is and what it will not do, which is unusually precise.

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?

Usage is implied rather than stated: the description explains what the tool inspects and how as_of changes the outcome, but never says when to reach for it versus another tool, nor when it is the wrong choice (e.g. when real chain validation is needed — that is only implied by 'not trust').

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.