Skip to main content
Glama
852764
by 852764

set_breakpoint_on_text

Set a breakpoint in scripts by searching for specific text or regex pattern, enabling targeted debugging.

Instructions

Search loaded scripts and set a breakpoint at matching text/regex. Best for AI-driven debugging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
regexNo
filterNoOptional URL/scriptId filter.
conditionNo
occurrenceNo
case_sensitiveNo
Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It only states the basic operation and adds no details about side effects, permissions, limits, or error cases. The tool modifies debugging state, but this is not explicitly noted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at two sentences, but it is too terse. It lacks any structured breakdown of behavior or parameters, making it less useful than it could be without becoming verbose.

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

Completeness2/5

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

For a tool with 6 parameters, no output schema, and no annotations, the description fails to provide sufficient context about return values, usage patterns, or parameter interactions. It is incomplete for guiding an AI agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (only 'filter' has a description). The tool's description does not explain the meaning or usage of key parameters like regex, condition, occurrence, or case_sensitive. It fails to compensate for the poor schema coverage.

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 searches scripts and sets breakpoints by text/regex, distinguishing it from sibling tools that set breakpoints by URL or script ID. However, it could explicitly name the alternatives for stronger differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Best for AI-driven debugging' is vague and provides no specific guidance on when to use this tool versus alternatives like set_breakpoint_by_url or set_breakpoint_by_script_id. No when-not-to-use or prerequisites are given.

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/852764/wmpf-mcp'

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