Skip to main content
Glama

gdb_start

Start a GDB debug session on a remote Linux binary, optionally loading a Python plugin script.

Instructions

启动 GDB 调试会话,加载目标二进制程序和可选的 GDB Python 插件。

Args: binary_path: 远程 Linux 上目标二进制文件的绝对路径 plugin_path: 可选,GDB Python 插件脚本路径(如 heap_logger.py)

Returns: GDB 启动输出信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
binary_pathYes
plugin_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses the basic actions (start session, load binary/plugin) and the return type, but lacks transparency about side effects, whether it is blocking, potential errors, or required setup (e.g., remote binary must exist). The behavioral disclosure is insufficient for safe tool invocation.

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 extremely concise: one sentence for purpose, an Args block with two parameters, and Returns. Every sentence adds value, and the structure is clear and front-loaded. No wasted words.

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

Completeness3/5

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

Given the moderate complexity and presence of many sibling tools, the description adequately covers the tool's purpose and parameters. However, it omits mention of prerequisites (e.g., SSH connection via ssh_connect) and the fact that starting a new session might interfere with an existing one. The description is sufficient for basic use but not fully complete for safe context.

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 0% schema description coverage, the description is essential. It adds clear semantics: binary_path is an absolute path on the remote Linux, and plugin_path is an optional script path with a concrete example. This goes beyond the schema's type information and provides actionable guidance.

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 it starts a GDB debugging session and loads a target binary with an optional plugin. The verb '启动 GDB 调试会话' is specific and the resource is well-defined. Among many gdb_* sibling tools, this is distinctly the initialization tool.

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 this is the first step in a GDB debugging workflow (loading binary and plugin). However, it does not explicitly state when to use it versus alternatives, nor does it mention prerequisites like the need for an existing SSH connection (suggested by sibling ssh_connect). Usage context is hinted but not fully explicit.

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/Aiyakami/PWN-MCP'

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