Skip to main content
Glama

analyze_artifact

Run static analysis on local Android APK/APKS/XAPK files to produce Markdown reports and structured security findings. Supports optional dynamic analysis for deeper inspection.

Instructions

Run static apk-docforge analysis for a local APK/APKS/XAPK artifact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outNo
modeNostatic
pathYes
deviceNo
Behavior2/5

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

With no annotations to convey safety or side effects, the description must carry the burden, but it only states 'static apk-docforge analysis' without disclosing whether the operation is read-only, touches external services, or has side effects. The static qualifier conflicts with the schema's dynamic mode, adding confusion rather than clarity.

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?

The description is a single, brief sentence that is easy to scan and front-loads the core action. It could be improved by removing 'static' to avoid redundancy with the schema's mode parameter, but it remains concise overall.

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 four parameters, including an enum for mode and no output schema, the description fails to mention the dynamic mode, output options, or device handling. It provides minimal context for a tool of this complexity, leaving the agent without critical usage details.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain parameters, but it only hints that 'path' points to local files via 'local APK/APKS/XAPK'. It provides no context for 'out', 'mode', or 'device', and the mention of 'static' diverges from the schema's mode enum, failing to clarify rather than helping.

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 uses a specific verb ('Run') and resource ('static apk-docforge analysis') and enumerates artifact types (APK/APKS/XAPK), which helps distinguish it from broader siblings like search_apps or get_report. However, the term 'static' is potentially misleading since the schema allows a 'dynamic' mode, slightly obscuring the full scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for a local APK/APKS/XAPK artifact' implies this tool targets local files, suggesting a use case versus cloud-based alternatives (e.g., download_app). However, there is no explicit guidance on when to use it instead of siblings like get_analysis or list_findings, nor any exclusions or alternative suggestions.

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

Install Server

Other Tools

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/alejandrojlamas/apk-docforge'

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