为已有断点设置或修改条件表达式。 参数: - breakpointId: 断点编号 - condition: 条件表达式,如 x>5, i==10;传空字符串清空条件 示例: - gdb_set_condition({breakpointId:
AI agents use gdb_set_condition to create or update resources in GDB MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your GDB MCP Server environment.
This tool modifies the condition on an existing breakpoint — a reversible write operation that changes debugger state. It does not execute code, delete data, or cause financial impact. Misuse could cause a debugger to miss or incorrectly trigger breakpoints, but effects are contained within the debug session and reversible.
From the tool's definition 为已有断点设置或修改条件表达式 (set or modify condition expression for existing breakpoint); 传空字符串清空条件 (pass empty string to clear condition)
Attacks that exploit this kind of access
为已有断点设置或修改条件表达式。 参数: - breakpointId: 断点编号 - condition: 条件表达式,如 x>5, i==10;传空字符串清空条件 示例: - gdb_set_condition({breakpointId:. It is categorised as a Write tool in the GDB MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the GDB MCP Server MCP server in PolicyLayer and add a rule for gdb_set_condition: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GDB MCP Server. Nothing to install.
gdb_set_condition is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the gdb_set_condition rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for gdb_set_condition. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
gdb_set_condition is provided by the GDB MCP Server MCP server (zjm1060/gdb-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →