Skip to main content
Glama
powmarx

pow-mcp-rag-new

by powmarx

search_hex_pattern

Search indexed documents for hex error codes, packet IDs, or patterns. Supports partial matches to find related hex values and device error codes.

Instructions

Search for hex error codes or patterns in indexed documents using text matching. Supports partial matches (e.g., '88a153' finds 88a15300, 88a15310, etc.) Use this for device error codes, packet IDs, or any hex value lookup.

Args: pattern: Hex pattern to search for (e.g., "88a153", "0x0521", "ERROR_118") project: Optional project name to filter results. Leave empty to search all. top_k: Maximum results to return (default: 10)

Returns: Document chunks containing the hex pattern with file and project info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_kNo
patternYes
projectNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must carry the burden. It discloses partial matching behavior with examples and notes that results are 'Document chunks containing the hex pattern with file and project info.' However, it does not mention any potential limitations or required index state, making it a moderate disclosure.

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 clear opener, a usage sentence, an Args list, and a Returns line. No redundant content; each sentence serves a purpose.

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?

For a 3-parameter search tool with an output schema, the description covers purpose, use case, parameters, and return type. It does not discuss limitations like index freshness or case sensitivity, but is otherwise complete.

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%, but the description compensates with an Args section that explains each parameter, provides examples for pattern, clarifies project filtering, and gives top_k default. This adds significant meaning beyond the 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?

The description opens with a specific verb+resource: 'Search for hex error codes or patterns in indexed documents using text matching.' It clearly differentiates from siblings like search_docs or search_code by focusing on hex patterns and partial matches.

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?

It explicitly gives usage context: 'Use this for device error codes, packet IDs, or any hex value lookup.' It does not name alternative tools for other search types, so it lacks explicit exclusion guidance, but the use case is clearly defined.

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