Skip to main content
Glama
Infrastructure MCP Server

Infrastructure MCP Server

by berkeleyo

diagnose_tls

Read-onlyIdempotent

Inspect TLS certificate metadata for an allowlisted public HTTPS destination to verify certificate details and diagnose TLS configuration issues.

Instructions

Inspect TLS metadata for an allowlisted public HTTPS destination.

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": {
      "destination": "<destination>"
    },
    "name": "diagnose_tls"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context by disclosing the allowlist requirement, telling the agent that calls against non-allowlisted or non-public/HTTPS destinations are out of scope. It does not describe failure modes or timeouts, which keeps it below a 5.

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?

A single ten-word sentence with the scope constraint front-loaded and no filler. Nothing in it is redundant with the schema or annotations.

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 one-parameter, read-only diagnostic with an output schema that documents the returned TLS metadata, the description covers purpose and the key precondition. What remains thin is destination format guidance, which the schema leaves at a bare untyped 'Destination' title.

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?

Only one parameter with 0% schema description coverage, so the description has to carry the semantics of 'destination'. It does so partially, implying the value must be an allowlisted, public HTTPS destination (i.e., a hostname or URL), but it gives no format example or guidance on ports, paths, or how allowlisting is determined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Inspect TLS metadata') plus a scoping constraint ('allowlisted public HTTPS destination'), which separates it from sibling diagnose_dns and diagnose_http by subject matter. It never names an alternative, so sibling differentiation is inferred from the resource name rather than stated.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative such as diagnose_http for plain HTTP targets. The 'allowlisted public HTTPS destination' phrase implies the applicable context (public HTTPS endpoints only) but leaves the agent to work out the selection rule.

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