Skip to main content
Glama
thebtf

netcoredbg-mcp

by thebtf

search_output

Read-onlyIdempotent

Search program output for specific patterns using regex, returning matching lines with context to quickly find errors or log entries.

Instructions

Search program output for a pattern (regex supported).

Use this instead of get_output when looking for specific messages, errors, or log entries in large output. Returns matching lines with context.

Args: pattern: Regex pattern to search for (case-insensitive) context_lines: Number of lines before/after each match (default 2) category: Filter by category: "stdout", "stderr", or "console" (default: all)

Returns: List of matches with line numbers and context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYes
context_linesNo
categoryNo
Behavior4/5

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

Beyond annotations (readOnlyHint, idempotentHint), the description adds that regex is case-insensitive, returns matching lines with context, and explains parameter behavior. No contradictions.

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?

Highly concise: a one-line summary, followed by usage guidance, then parameter descriptions. Every sentence adds value; no wasted words.

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

Completeness5/5

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

Fully explains the tool's purpose, usage, parameters, and return value. Without output schema, the description of 'List of matches with line numbers and context' is sufficient. No gaps.

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 compensates by explaining pattern (regex, case-insensitive), context_lines (number, default 2), and category (filter by 'stdout', 'stderr', or 'console', default all). Adds meaning beyond schema.

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?

Clearly states 'Search program output for a pattern (regex supported)' and distinguishes from get_output by specifying when to use it for looking for specific messages/errors/log entries in large output.

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?

Explicitly recommends 'Use this instead of get_output when looking for specific messages, errors, or log entries in large output,' providing clear context for when to choose this tool over its sibling.

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/thebtf/netcoredbg-mcp'

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