Skip to main content
Glama

search_memory

Locate specific byte patterns in emulated memory during analysis sessions. Define search scope with optional address and size parameters to identify data structures or code segments.

Instructions

Search for a byte pattern in memory.

If address is None, searches all mapped regions.

Args: session_id: The session ID. pattern: Hex string of bytes to search for (e.g. "deadbeef"). address: Optional start address to limit search. size: Optional size of search range (required if address is set). max_results: Maximum matches to return (default 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
patternYes
addressNo
sizeNo
max_resultsNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the default for 'max_results' (100) and the conditional behavior with 'address' and 'size', but doesn't describe important traits like performance implications (e.g., search speed, memory usage), error handling, or what the return format looks like (e.g., list of addresses). For a tool with no annotation coverage, this is insufficient.

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?

The description is well-structured and appropriately sized. It starts with a clear purpose statement, followed by conditional behavior, then details each parameter in a bullet-like format. Every sentence adds value, with no redundant information. It could be slightly more concise by integrating the conditional logic into the parameter descriptions, but it's efficient overall.

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

Completeness3/5

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

Given the complexity (5 parameters, no annotations, no output schema), the description is moderately complete. It covers parameter semantics well and includes some behavioral context (defaults, conditionals). However, it lacks details on output format, error cases, or performance considerations, which are important for a search operation. This makes it adequate but with clear gaps for an agent to use it effectively.

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 the description must compensate. It provides meaningful semantics for all parameters: 'session_id' (The session ID), 'pattern' (Hex string of bytes to search for), 'address' (Optional start address to limit search), 'size' (Optional size of search range, required if address is set), and 'max_results' (Maximum matches to return with default 100). This adds significant value beyond the bare schema, though it could include examples for 'pattern' format beyond 'deadbeef'.

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 clearly states the tool's purpose: 'Search for a byte pattern in memory.' It specifies the verb ('search') and resource ('byte pattern in memory'), which is specific and unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'diff_memory' or 'read_memory', which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides implied usage guidance through conditional logic: 'If address is None, searches all mapped regions.' It also mentions that 'size' is 'required if address is set.' However, it lacks explicit guidance on when to use this tool versus alternatives like 'diff_memory' or 'read_memory', and doesn't mention prerequisites or exclusions.

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/LabGuy94/MCPEmulate'

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