Skip to main content
Glama

gdb_pause

Temporarily pause a running GDB inferior to inspect memory during heap layout. Issues the interrupt command to halt the target for memory examination.

Instructions

临时暂停正在运行的调试目标,等价于 gdb_interrupt。

用于堆布局过程中在关键包发送后暂停程序,然后调用 gdb_memory / gdb_chunk / gdb_command("x/..") 查看指定内存区域。

注意:本项目大量使用 continue& 让 inferior 后台运行,此时 GDB 已经返回 prompt。对 prompt 发送 Ctrl-C 只会中断 GDB 自身输入,未必 会暂停后台 inferior;因此这里优先执行 GDB 的 interrupt 命令, 只有在 foreground continue 无 prompt 的场景下才回退到 PTY Ctrl-C。

Returns: 暂停后的 GDB 输出。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that pausing uses GDB's interrupt command, with a fallback to PTY Ctrl-C for foreground continues. It also states the return value is GDB output. No side effects beyond pausing are mentioned, which is appropriate.

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 concise with three focused sentences: purpose, use case, and technical nuance. It is front-loaded and every sentence adds value.

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 no parameters and an existing output schema, the description covers purpose, usage scenario, technical behavior, and return value. It is sufficiently complete for a parameterless tool.

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?

There are no parameters, so the description adds no parameter-specific information. According to rules, baseline is 4. The schema covers 100% trivially.

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 clearly states the tool pauses the debug target and equates it to gdb_interrupt. It provides a specific use case (heap layout) but does not differentiate from gdb_interrupt, which is a sibling. This creates some confusion but overall purpose is well-defined.

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 gives explicit usage context: after sending a key packet during heap layout, and explains why interrupt is preferred over Ctrl-C for background continues. It does not explicitly state when not to use, but the scenario is clear.

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