Skip to main content
Glama

Find Instructions

find_instructions

Locate assembly instructions by mnemonic or regex over instruction text, filtering matches to speed reverse engineering analysis in IDA Pro.

Instructions

Find instructions by mnemonic and/or a regex over the instruction text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum matches to return
patternNoOptional regex matched against the full instruction text
timeoutNoTimeout in seconds
mnemonicNoMnemonic filter (case-insensitive substring, e.g. 'call'); empty matches all
instance_idNoInstance id override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.7

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only restates the search criteria. It does not say whether the operation is read-only, what happens with the limit or timeout parameters, or what the return format looks like.

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?

A single efficient sentence that front-loads the action and filtering criteria with no wasted words. It is appropriately sized, though very terse.

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

Completeness2/5

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

Given five optional parameters, no output schema, and no annotations, the description is too thin. It omits any mention of the timeout, limit, or instance_id params, and provides no behavioral context for a tool that likely operates within an analysis session.

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

Parameters3/5

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

Schema coverage is 100%, so all five parameters are fully documented in the input schema. The description adds no meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 clear verb (find) and resource (instructions) plus the filtering mechanisms (mnemonic and regex). However, it does not differentiate this tool from siblings like disasm, find_bytes, or find_regex, so an agent must infer the distinction.

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?

No explicit when-to-use guidance, prerequisites, or alternative tools are mentioned. The phrase 'by mnemonic and/or a regex' implies the search criteria but does not tell the agent when to choose this tool over find_regex or disasm.

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