get_smali_file

Get content of a specific smali file by class name.

Server APK Security Guard MCP Suite zmbcen/apk-security-guard-mcp-suite
Category Read
Risk class Low
Parameters 00 required

What get_smali_file does on APK Security Guard MCP Suite

AI agents call get_smali_file to retrieve information from APK Security Guard MCP Suite without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_smali_file needs a policy

This tool performs a read-only query operation on smali bytecode files, which are decompiled Android code. It retrieves existing data for analysis purposes without side effects, making it a Read category tool. The severity is low because reading code contents poses minimal risk—it cannot execute operations, modify data, or cause destructive changes even if misused by an AI agent.

From the tool's definition The tool description states it 'Get[s] content of a specific smali file by class name.' This is a retrieval operation that reads and returns file contents without modifying, executing, or deleting anything.

Questions about get_smali_file

What does the get_smali_file tool do? +

Get content of a specific smali file by class name. It is categorised as a Read tool in the APK Security Guard MCP Suite MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_smali_file? +

Register the APK Security Guard MCP Suite MCP server in PolicyLayer and add a rule for get_smali_file: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches APK Security Guard MCP Suite. Nothing to install.

What risk level is get_smali_file? +

get_smali_file is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_smali_file? +

Yes. Add a rate_limit block to the get_smali_file rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_smali_file completely? +

Set action: deny in the PolicyLayer policy for get_smali_file. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_smali_file? +

get_smali_file is provided by the APK Security Guard MCP Suite MCP server (zmbcen/apk-security-guard-mcp-suite). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.