Skip to main content
Glama
sbergeron42

gdb-multiarch-mcp

by sbergeron42

gdb_enable_breakpoint

Activate a paused breakpoint in gdb-multiarch to resume debugging Nintendo Switch executables. Specify the breakpoint number to continue execution monitoring.

Instructions

Enable a breakpoint by number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesBreakpoint number

Implementation Reference

  • The enable_breakpoint method in the GDBSession class implements the logic for enabling a GDB breakpoint by sending the '-break-enable' MI command.
    def enable_breakpoint(self, number: int) -> dict[str, Any]:
        """
        Enable a breakpoint by its number.
    
        Args:
            number: Breakpoint number to enable
    
        Returns:
            Dict with status
        """
        result = self.execute_command(f"-break-enable {number}")
    
        if result["status"] == "error":
            return result
    
        return {"status": "success", "message": f"Breakpoint {number} enabled"}
Behavior3/5

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

With no annotations provided, the description carries the full burden. It identifies the operation as an 'enable' (state mutation), but lacks details on idempotency, error conditions (e.g., invalid breakpoint number), or what occurs if the breakpoint is already enabled.

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 exactly five words with zero redundancy. It is perfectly front-loaded and every word serves a purpose. No structural improvements possible.

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 single-parameter state-toggle tool with 100% schema coverage, the description is adequate. It would benefit from noting error cases or return values, but the essential operation is fully covered given the tool's simplicity.

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 100%, with the parameter 'number' fully documented as 'Breakpoint number' in the schema. The description adds minimal semantic value beyond 'by number,' so it meets the baseline for high schema coverage contexts.

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 provides a specific verb (Enable), target resource (breakpoint), and identification method (by number). It clearly distinguishes from siblings like gdb_disable_breakpoint (inverse operation), gdb_set_breakpoint (creates new), and gdb_delete_breakpoint (removes).

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?

The description implies usage through the phrase 'by number,' suggesting the breakpoint must already exist (typically obtained via gdb_list_breakpoints). However, it does not explicitly state when to use this versus gdb_set_breakpoint or mention that the breakpoint must be disabled first.

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/sbergeron42/gdb-multiarch-mcp'

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