Skip to main content
Glama

Relax or restore TLS certificate checking

browser_relax_certificate_checks
Destructive

Temporarily disables Firefox certificate pinning and OCSP checks so self-signed or internal test certificates work; set relax to false to restore prior preferences.

Instructions

SECURITY SENSITIVE. Switches the certificate-checking preferences that make a self-signed or internally issued test certificate usable: cert pinning, OCSP and OCSP stapling/must-staple. relax:true turns those checks off; relax:false puts them back. Restoring is precise: a preference that had no user value before is cleared so it falls back to the Firefox default again, instead of being overwritten with a guess. The pre-relax values are remembered by THIS SERVER PROCESS, so restore only works while it is alive; if the server restarted, restore reports that instead of guessing. Some TLS changes only affect new connections.

Input Schema

NameRequiredDescriptionDefault
relaxYestrue to relax the checks (unsafe), false to restore what was there before

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by naming exactly which checks are disabled (pinning, OCSP, stapling/must-staple), disclosing the reversibility constraint (pre-relax values live only in this server process, restore fails after a restart rather than guessing), and noting that some TLS changes apply only to new connections. readOnlyHint=false and destructiveHint=true are consistent with this.

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?

Front-loads the SECURITY SENSITIVE warning and then proceeds in a logical order: what changes, how to reverse, caveats. Sentences are dense but each carries information; the restore-precision sentence is long but not redundant.

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

Completeness5/5

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

For a single-boolean security toggle with annotations covering the safety profile and no output schema, the description covers what is mutated, reversibility, failure behavior after a server restart, and when effects take hold. Nothing needed to call it correctly is missing.

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%, so the boolean is already documented, but the description adds real meaning: relax:true disables the checks and is unsafe, and relax:false performs a precise restore that clears pre-existing-empty prefs back to Firefox defaults instead of writing a guessed value. That extra semantics is genuinely useful beyond the schema.

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?

States a precise verb set (switches/relax/restore) and a specific resource (certificate-checking preferences: pinning, OCSP, OCSP stapling/must-staple), so the agent knows exactly what state changes. It is clearly distinguishable from pref-level siblings like browser_set_pref and from override management like browser_certificate_manage.

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?

Gives a clear usage context — making a self-signed or internally issued test certificate usable — and both modes (relax:true to disable, relax:false to restore). It flags the unsafe direction explicitly, but never names an alternative (e.g. certificate overrides) or states when not to use it, so routing is inferred rather than spelled out.

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

Deploy Server

Other Tools