Skip to main content
Glama
cnlnn

droidasc-mcp

by cnlnn

asc_find_refs

Locates cross-DEX references to a specified string, type, method, or field within an Android APK, enabling quick analysis of code usage across multiple DEX files.

Instructions

Find cross-DEX references to a string, type, method, or field.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
limitNo
valueNo
offsetNo
threadsNo
apk_pathYes
class_nameNo
fuzzy_classNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It communicates that the operation searches across DEX references, but it does not state whether it is read-only, expensive, limited, or what the result surface looks like beyond the output schema.

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, front-loaded sentence with no filler and the core scope delivered immediately. However, the brevity contributes to underspecification for such a parameter-rich tool.

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

Completeness1/5

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

A tool with eight parameters, two required, zero schema descriptions, and no annotations cannot be adequately invoked from this description. The output schema covers return shapes, but the missing parameter semantics and usage guidance are critical gaps.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not compensate. Eight parameters exist, including required apk_path and kind, plus value, limit, offset, threads, class_name, and fuzzy_class. The only semantic hint is that references can target string, type, method, or field, which maps weakly to the 'kind' enum.

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?

The description clearly states a specific action ('Find') and resource ('cross-DEX references') and enumerates the reference kinds: string, type, method, or field. This distinguishes it from sibling tools like asc_list_classes or asc_get_class_source, which target different concerns.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool instead of siblings, and no exclusions or prerequisites. An agent must infer its role from the tool name and sibling list rather than from explicit instructions.

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