Skip to main content
Glama
sbergeron42

gdb-multiarch-mcp

by sbergeron42

gdb_delete_breakpoint

Remove a debugging breakpoint by its assigned number to continue program execution in the gdb-multiarch debugger.

Instructions

Delete a breakpoint by number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesBreakpoint number

Implementation Reference

  • Handler function in GDBSession class that executes the GDB/MI command '-break-delete' to delete a breakpoint.
    def delete_breakpoint(self, number: int) -> dict[str, Any]:
        """
        Delete a breakpoint by its number.
    
        Args:
            number: Breakpoint number to delete
    
        Returns:
            Dict with status
        """
        result = self.execute_command(f"-break-delete {number}")
    
        if result["status"] == "error":
            return result
    
        return {"status": "success", "message": f"Breakpoint {number} deleted"}
  • The registration dispatch logic in server.py which calls the GDBSession.delete_breakpoint method.
    elif name == "gdb_delete_breakpoint":
        a = BreakpointNumberArgs(**arguments)
        result = session.delete_breakpoint(number=a.number)
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 of behavioral disclosure. The term 'Delete' effectively signals destructive behavior (permanent removal), but the description omits error handling (e.g., behavior if breakpoint number doesn't exist), return values, or side effects.

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 with no wasted words. The action verb leads the sentence, making it immediately scannable and appropriately sized for a simple one-parameter operation.

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's simplicity (single required parameter), full schema coverage, and lack of output schema, the description is adequate. It could be enhanced by noting the permanent nature of deletion versus disabling, but it sufficiently covers the essential information needed for invocation.

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?

The input schema has 100% description coverage ('Breakpoint number'), so the schema fully documents the parameter. The description adds minimal semantic value beyond the schema, merely reinforcing that deletion occurs 'by number' rather than by address or function name.

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 provides a clear verb ('Delete'), resource ('breakpoint'), and identifier method ('by number'). However, it does not explicitly differentiate from sibling tools like 'gdb_disable_breakpoint' (which keeps the breakpoint inactive rather than removing it), preventing a top score.

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 action verb ('Delete'), suggesting when to remove breakpoints entirely. However, it lacks explicit guidance on choosing deletion over 'gdb_disable_breakpoint' or prerequisites like the breakpoint needing to exist.

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