Skip to main content
Glama

proxy_get_tls_config

Retrieve the current TLS capture and spoofing configuration to inspect or modify proxy traffic handling.

Instructions

Get current TLS capture and spoofing configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'proxy_get_tls_config' tool via server.tool() with name, description, empty schema (no parameters), and an async handler that calls proxyManager.getTlsConfig().
    // ── Get TLS config ──
    server.tool(
      "proxy_get_tls_config",
      "Get current TLS capture and spoofing configuration.",
      {},
      async () => {
        return {
          content: [{
            type: "text" as const,
            text: JSON.stringify({
              status: "success",
              ...proxyManager.getTlsConfig(),
            }),
          }],
        };
      },
    );
  • Handler function for proxy_get_tls_config: returns the current TLS capture and spoofing configuration by calling proxyManager.getTlsConfig().
    async () => {
      return {
        content: [{
          type: "text" as const,
          text: JSON.stringify({
            status: "success",
            ...proxyManager.getTlsConfig(),
          }),
        }],
      };
    },
  • ProxyManager.getTlsConfig() helper method that returns an object containing serverTlsCaptureEnabled (boolean) and ja3SpoofConfig (FingerprintSpoofConfig | null).
    getTlsConfig(): object {
      return {
        serverTlsCaptureEnabled: this.isServerTlsCaptureEnabled(),
        ja3SpoofConfig: this._ja3SpoofConfig,
      };
    }
  • Schema for proxy_get_tls_config: empty object {} meaning no input parameters are accepted.
    "Get current TLS capture and spoofing configuration.",
    {},
Behavior4/5

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

With no annotations, the description carries the full burden. It correctly indicates a read operation ('Get'), implying no side effects. No contradiction, but could add details like return format or prerequisites.

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, front-loaded sentence that efficiently communicates the tool's purpose. No unnecessary words.

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 simple getter tool with no parameters and no output schema, the description is adequate. It could be enriched with details about the returned configuration, but it is sufficient for an AI agent to understand the basic function.

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?

The tool has no parameters, so the schema fully covers them. The description adds no additional semantic detail, but none is needed. Baseline 4 is appropriate.

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 clearly states the tool gets the current TLS capture and spoofing configuration, with a specific verb and resource. It distinguishes from sibling tools that modify or manage proxies and TLS settings.

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?

The description makes the purpose clear (retrieving config), providing implicit guidance for usage. However, it lacks explicit when-to-use or when-not-to-use instructions, and does not mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yfe404/proxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server