Skip to main content
Glama

devanvil_inspect_cert

Inspect PEM-encoded X.509 SSL/TLS certificates offline to extract subject, issuer, SANs, expiry, warnings, and SHA-256 fingerprint for quick validation.

Instructions

Inspect one or more PEM-encoded X.509 SSL/TLS certificates completely offline (subject, issuer, SANs, expiry, warnings, SHA-256 fingerprint).

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": "devanvil_inspect_cert"
  }
}

Input Schema

NameRequiredDescriptionDefault
pemYesPEM certificate string containing -----BEGIN CERTIFICATE-----.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden: it does disclose the important trait that inspection is 'completely offline', which tells the agent not to expect live chain/revocation validation, and it lists the returned fields. It does not explain what 'warnings' represent, how multiple certificates are handled, or what happens with malformed input, which leaves meaningful gaps for an unannotated tool.

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?

One sentence, front-loaded with the action and resource, with the return fields in a compact parenthetical. Nothing is padded and no sentence is wasted.

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 single-parameter, read-only inspection tool with no output schema, the description covers what it does, the offline constraint, and the shape of the result. It falls just short of full completeness because error behavior and the meaning of the 'warnings' field are left unstated.

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 100% and there is a single well-described required parameter, so the baseline is 3. The description earns extra credit by saying 'one or more' certificates, clarifying that a concatenated PEM bundle is acceptable — information not conveyed by the schema's singular 'PEM certificate string' wording.

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 names a specific verb (Inspect) and resource (PEM-encoded X.509 SSL/TLS certificates) and enumerates the exact outputs (subject, issuer, SANs, expiry, warnings, SHA-256 fingerprint). An agent can distinguish this immediately from siblings like devanvil_jwt_audit or devanvil_decode_protobuf without opening the schema.

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 phrase 'completely offline' implies a usage context (no network, presumably no revocation or chain-of-trust lookups), which helps an agent pick this tool when network access is unavailable. However, there is no explicit when-to-use/when-not guidance and no named alternative, so the guidance remains implied rather than stated.

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