Skip to main content
Glama

get_method_full_name_by_id

Retrieve the fully qualified name of a method using its unique ID for code review and security analysis in Joern MCP Server.

Instructions

Retrieves the fully qualified name of a method by its ID

@param id: The unique identifier of the method, the id is a Long int string, like '111669149702L' @return: The fully qualified name of the method (e.g., com.android.nfc.NfcService$6.onReceive:void(android.content.Context,android.content.Intent))

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
method_idYes

Implementation Reference

  • The handler function for the 'get_method_full_name_by_id' MCP tool. It is decorated with @joern_mcp.tool(), which registers it with the MCP server. The function queries the Joern server remotely to retrieve the full method name by ID and extracts the value from the response.
    @joern_mcp.tool() def get_method_full_name_by_id(method_id:str) -> str: """Retrieves the fully qualified name of a method by its ID @param id: The unique identifier of the method, the id is a Long int string, like '111669149702L' @return: The fully qualified name of the method (e.g., com.android.nfc.NfcService$6.onReceive:void(android.content.Context,android.content.Intent)) """ response = joern_remote(f'get_method_full_name_by_id("{method_id}")') return extract_value(response)

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/sfncat/mcp-joern'

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