Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Search YARA rules

yara_rule_search
Read-onlyIdempotent

Search stored signature rule records for file/memory patterns to surface hunting signals; validate matches before drawing conclusions.

Instructions

Search stored YARA rule records (file/memory signatures). YARA matches are hunting signals with false positives; validate before drawing conclusions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "yara_rule_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds a genuine epistemic caveat that matches are hunting signals prone to false positives and must be validated, which is useful context beyond the annotations. It says nothing about result format, ordering, or how the 1000-result cap interacts with paging.

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

Conciseness4/5

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

Two short sentences with the resource definition front-loaded and the caveat second; no filler. It is arguably a sentence short of being complete, but nothing present is wasted.

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?

With no output schema, the description should at least signal what a result is; calling records "file/memory signatures" plus the false-positive caveat gives an agent enough to interpret hits cautiously. The remaining gap is search semantics for `query`, which is the main thing missing for correct invocation.

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 50%: `limit` is documented in the schema, but `query` has no description anywhere. The description does not explain what `query` matches against (rule name, rule body, metadata, tags) or whether it supports substring, boolean, or regex syntax, so the highest-value parameter remains ambiguous.

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 states a specific verb and resource ("Search stored YARA rule records") and parenthetically clarifies the domain as file/memory signatures. It is clearly a different resource from siblings like sigma_rule_search, though it never explicitly contrasts with them.

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?

There is no when-to-use guidance and no routing to alternatives such as sigma_rule_search for host/log-based detections versus YARA for file/memory signatures. The only guidance given is about interpreting results, not about selecting or scoping this tool.

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

Deploy Server

Other Tools