Skip to main content
Glama

get_local_device

Retrieve information about the local device for mobile and desktop application analysis using Frida's dynamic instrumentation capabilities.

Instructions

Get the local device.

Returns: Information about the local device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the MCP tool 'get_local_device'. It uses frida.get_local_device() to fetch the local device details (id, name, type) and handles exceptions by raising a ValueError if no local device is found.
    @mcp.tool() def get_local_device() -> Dict[str, Any]: """Get the local device. Returns: Information about the local device """ try: device = frida.get_local_device() return { "id": device.id, "name": device.name, "type": device.type, } except frida.InvalidArgumentError: # Or other relevant Frida exceptions raise ValueError("No local device found or error accessing it.")

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/rmorgans/frida-mcp'

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