Skip to main content
Glama

triage_target

Read-only

Fingerprint an APK or decoded project to gather APKiD markers, manifest details, native libraries, and Kotlin name recovery for obfuscated classes, then save a citable triage report.

Instructions

Fingerprint-first triage of an APK or an already decoded/decompiled project - one call that composes the first look: APKiD fingerprints (when given an .apk and apkid is installed), the manifest (package, sdk levels, permissions, exported components, application class - needs an apktool decode output), the native library inventory per ABI, and Kotlin metadata name recovery for obfuscated classes (needs a jadx output's sources/ directory). This is an assessment, not a verdict: marker absence doesn't prove a target is clean. Returns { target, kind, manifest?, fingerprints?, nativeLibs?, kotlinNames?, obfuscationHints?, warnings? }. The full report is saved in the workspace and its path returned as outputPath, so it can be cited as evidence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "triage_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesAbsolute path to an .apk file, or to a decoded/decompiled project directory (apktool decode output or jadx output). Must exist.
workspaceNoWorkspace name (not id). Created if it doesn't exist, and this call is recorded as a job in its history. Defaults to "default".
timeoutSecondsNoForwarded to apkid's per-file YARA scan timeout when the target is an .apk. Default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.29

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations it discloses conditional execution, the exact return shape, the persisted report and outputPath for citation, and a genuine interpretive caveat that marker absence does not prove cleanliness. It also surfaces the side effect that the run is recorded as a job and a report is written into the workspace, which the annotations alone would not convey.

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 core is front-loaded in the first clause, and no sentence is filler. The lead sentence is long and parenthetical-heavy, so an agent must parse nested conditions in one breath, which costs a little readability for otherwise efficient density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a composite tool with no output schema, the description supplies the return object shape, the artifact location, the per-component preconditions and the interpretive limits. An agent has everything needed to decide whether to call it and how to use the result as evidence.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: that timeoutSeconds is forwarded specifically to apkid's per-file YARA scan and only matters for .apk targets, and that the workspace determines where the full report lands. The target parameter's accepted forms (apk file vs apktool/jadx output dir) are restated, matching rather than extending the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Fingerprint-first triage of an APK or an already decoded/decompiled project" names a specific verb and resource, then enumerates exactly what is composed (APKiD fingerprints, manifest, native library inventory per ABI, Kotlin name recovery). This positions it clearly against siblings like decode_apk, decompile_apk and identify_packer as the aggregate first-pass assessment rather than a single decoder.

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

Usage Guidelines4/5

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

It gives concrete applicability conditions per sub-analysis: APKiD runs only for an .apk with apkid installed, manifest requires apktool decode output, Kotlin recovery requires a jadx sources/ directory. What it does not do is explicitly route the agent to decode_apk/decompile_apk first when those preconditions are unmet, so the sequencing guidance is inferable rather than stated.

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