Skip to main content
Glama

list_functions

Extract function names from a loaded binary to identify executable components for reverse-engineering analysis.

Instructions

List all function names from the loaded binary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:67-72 (handler)
    The core handler function for the 'list_functions' tool. It checks if the Ghidra context is ready and returns a list of function names from the loaded binary context.
    @mcp.tool() async def list_functions() -> list[str]: """List all function names from the loaded binary.""" if not ctx_ready: return ["❌ Context not ready. Run `setup_context()` first."] return [f["name"] for f in ctx.get("functions", [])]

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/Bamimore-Tomi/ghidra_mcp'

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