Skip to main content
Glama
powmarx

pow-mcp-rag-new

by powmarx

search_logs

Search indexed logs with structured filters and semantic queries to identify relevant events.

Instructions

Search indexed log events with structured filtering and semantic search.

Args: query: Semantic search query (max 512 chars). Optional if filters provided. project: Filter by project name. severity: Filter by severity (DEBUG, INFO, WARNING, ERROR, CRITICAL). time_range_start: ISO 8601 start time filter. time_range_end: ISO 8601 end time filter. error_code_pattern: Prefix match on error codes (e.g., "88a1"). device_id: Filter by device identifier. event_type: Filter by event type (command, response, error, etc.). top_k: Max results (default 20, max 50). Clamped to range [1, 50].

Returns: Formatted results with metadata and relevance scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
top_kNo
projectNo
severityNo
device_idNo
event_typeNo
time_range_endNo
time_range_startNo
error_code_patternNo

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 the behavioral disclosure burden. It discloses meaningful traits: query is optional if filters are provided, top_k is clamped to a range, error_code_pattern is a prefix match, and results include relevance scores. It covers parameter behavior but does not mention auth, rate limits, or failure modes, which are not critical for a search tool.

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 well-structured with a one-sentence summary, an Args list for each parameter, and a Returns line. Each sentence earns its place, and the format is scannable for an agent. No redundancy or filler.

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 the tool's complexity (9 parameters) and the presence of an output schema, the description covers param semantics, return format, and clamping behavior. It could be more complete by mentioning prerequisites (e.g., logs must be indexed first) and explicitly noting the trade-off between semantic search and structured filters, but it is largely sufficient.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates. It adds significant meaning: max length for query, allowed severity values, ISO 8601 format for time ranges, prefix matching behavior for error codes, and the default/max/clamping for top_k. This transforms the bare schema into a usable spec.

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 opens with 'Search indexed log events with structured filtering and semantic search,' which clearly states the verb (Search), resource (indexed log events), and differentiates from sibling tools that search other content types (docs, code, specs). The dual-mode aspect (structured filtering and semantic search) adds specificity.

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 provides clear context for when to use the tool: when searching log events. It does not explicitly name alternatives or exclusions, but the resource ('log events') implicitly distinguishes it from sibling search tools. No when-not guidance is given, but the intended use is unambiguous.

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/powmarx/pow-mcp-rag-new'

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