Skip to main content
Glama

cert_expiry

Reports certificate state and expiration for HTTP load balancers across one or all namespaces, flagging certificates that are invalid or expire within a configurable warning period.

Instructions

Certificate state and expiry for every HTTP load balancer, in one namespace or (namespace="all") every namespace you can see. Flags anything expiring within warn_days or not CertificateValid.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cert_expiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceNo
warn_daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are present, so the description bears the full burden. It usefully discloses scope ('one namespace' vs namespace="all" covering every namespace you can see) and the flagging threshold behavior, which the schema does not convey. However, it never states that this is a read-only operation, nor whether it queries live cluster state or requires particular permissions.

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?

Two sentences, front-loaded with the core resource and then the flagging rule; little waste. The mid-sentence parenthetical with the namespace="all" explanation is slightly awkwardly placed but does not impede comprehension.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the tool is simple with only two optional parameters. Still, with no annotations the description should clarify read-only status and the meaning of the default namespace, which it does not, leaving the definition adequate but incomplete.

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 0%, so the description must carry both parameters — and it does explain namespace (single vs "all" for every visible namespace) and warn_days (expiry threshold for flagging). The gap is what namespace=null means given the default: the description says 'one namespace or "all"' but does not resolve the default/null case, leaving ambiguity.

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?

The description names a specific resource and attributes: 'Certificate state and expiry for every HTTP load balancer', and adds that it flags expired/expiring certificates. This is distinguishable from siblings such as lb_summary or alerts, which do not mention certificate validity. It stops short of explicitly contrasting itself with any sibling, so it is clear but not fully differentiated.

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 by the flagging logic ('anything expiring within warn_days or not CertificateValid'), which suggests an audit/health-check scenario, but there is no explicit when-to-use statement, no exclusions, and no named alternative. An agent must infer that this is the right tool for certificate checks.

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