Skip to main content
Glama
renef-mcp
by Ahmeth4n

search_techniques

Search technique documentation for matching lines and surrounding context, with optional platform filtering and regex support to locate specific implementation details.

Instructions

Search across technique documentation with optional platform filtering.

Performs full-text search across all documentation files in a technique category, returning matching lines with file context. Supports regex patterns for advanced searching.

Args: query: Search term or regex pattern (e.g., "OkHttp", "Trust.*Manager") technique: Technique category to search (default: "ssl_pinning") platform: Filter to specific platform (optional, e.g., "flutter", "android") case_sensitive: Enable case-sensitive search (default: False) context_lines: Number of context lines before/after match (default: 2)

Returns: Markdown formatted search results with: - File name and line number - Matched line - Context lines (before/after) - Limited to 50 results

Examples: Basic search: search_techniques("OkHttp")

Platform-specific:
    search_techniques("HttpClient", platform="flutter")

Regex pattern:
    search_techniques("Trust.*Manager", case_sensitive=True)

With more context:
    search_techniques("frida", context_lines=5)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_techniques"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
platformNo
techniqueNossl_pinning
context_linesNo
case_sensitiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden and does so well: it states the read-only nature implicitly, discloses the 50-result cap, regex support, case handling, and the shape of returned matches. It does not mention permissions, file scope limits, or what happens when a technique category is unknown, which keeps it below a 5.

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 docstring is front-loaded with the one-line purpose, then Args/Returns/Examples in a predictable order. The examples are short, non-redundant, and each demonstrates a distinct parameter combination rather than restating the same call.

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?

An output schema exists, yet the description still usefully summarizes the markdown result shape and the 50-hit limit, and it covers all five parameters with defaults. The missing piece is the set of legal technique/platform values, which matters because the schema provides no enums and a wrong guess silently searches the wrong tree.

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?

Schema description coverage is 0%, so this section is doing the real work: every one of the five parameters is named with its type, default, and an inline example (e.g. platform 'flutter'/'android', regex 'Trust.*Manager'). The gap is that valid values for 'technique' and 'platform' are never enumerated and there are no schema enums, so an agent must guess what categories exist.

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 and resource: 'Search across technique documentation,' then sharpens it to 'full-text search across all documentation files in a technique category, returning matching lines with file context.' That resource (documentation files) is clearly distinct from the memory/runtime siblings like renef_mem_search, so an agent can route correctly without opening the schema.

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 four worked examples establish concrete usage contexts (basic term lookup, platform-scoped search, regex, wider context), which implies when to reach for the tool. It stops short of explicit exclusions or naming an alternative for runtime/artifact searching, so it lands at clear-but-not-routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.