Skip to main content
Glama
heizaheiza

Charles MCP Server

charles_status

Check Charles Proxy connectivity and verify if live network traffic capture is active for debugging and monitoring purposes.

Instructions

Check Charles connectivity and active live-capture state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
configYes
connectedYes
charles_infoNo
live_captureYes

Implementation Reference

  • The implementation of the `charles_status` tool handler, which checks connectivity to Charles and the status of live captures.
    async def charles_status(ctx: ToolContext) -> CharlesStatusResult:
        """Check Charles connectivity and active live-capture state."""
        logger.info("Tool called: charles_status()")
        deps = get_tool_dependencies(ctx)
    
        active_capture = deps.live_service.get_active_capture()
        result = CharlesStatusResult(
            config=CharlesStatusConfig(
                proxy_url=deps.config.proxy_url,
                base_url=deps.config.charles_base_url,
                config_path=deps.config.config_path or "not_detected",
                manage_charles_lifecycle=deps.config.manage_charles_lifecycle,
            ),
            live_capture=LiveCaptureRuntimeStatus(
                active_capture=ActiveCaptureStatus(**active_capture) if active_capture else None
            ),
            connected=False,
        )
    
        try:
            async with deps.client_factory(deps.config) as client:
                info = await client.get_info()
                result.connected = info is not None
                if info:
                    result.charles_info = info
        except CharlesClientError as exc:
            result.connected = False
            result.error = str(exc)
    
        return result
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what it checks but omits whether this is a read-only operation (though implied), whether it affects performance, rate limits, or what specific status indicators are returned. For a tool with no annotations, this lacks necessary behavioral context.

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?

The description is a single, efficient sentence of seven words with zero waste. It is front-loaded with the action verb and immediately specifies the scope, making it appropriately sized for a zero-parameter status tool.

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?

Given the tool has zero parameters and an output schema exists (covering return values), the description adequately covers the conceptual purpose. It establishes the domain (connectivity and capture state) sufficiently for an agent to select it correctly, though it could be improved by mentioning it's a safe diagnostic operation.

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?

With zero parameters, the baseline score is 4 per the evaluation rules. The description appropriately requires no additional parameter context since the input schema is empty.

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 uses specific verbs ('Check') and resources ('Charles connectivity', 'active live-capture state') that clearly distinguish it from action-oriented siblings like start_live_capture or analysis tools like analyze_recorded_traffic. However, 'Check' is slightly less precise than 'Retrieve' or 'Get', and 'Charles' assumes context from the server rather than being self-evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus alternatives, nor does it mention prerequisites (e.g., checking connectivity before starting a capture). While the purpose implies diagnostic usage, there are no explicit when/when-not statements or comparisons to siblings like peek_live_capture.

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/heizaheiza/Charles-mcp'

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