apk-docforge
apk-docforge
apk-docforge는 Android APK 아티팩트를 문서화하고 감사하기 위한 로컬 우선(local-first) Python 툴킷입니다. 결정적 정적 분석, 승인된 ADB 기기에서의 선택적 통제된 런타임 관찰, 출처 추적 다운로드, FastAPI 웹 인터페이스, 그리고 MCP stdio 서버를 결합합니다.
소유한 애플리케이션, 평가 권한이 있는 애플리케이션, 또는 라이선스에 따라 검사가 허용된 애플리케이션에만 사용하십시오. 이 프로젝트는 인증, 결제, DRM, 인증서 고정, 라이선싱 또는 변조 방지 제어를 우회하지 않습니다.
주요 기능
격리 및 SHA-256 출처 추적을 포함한 APK, APKS, XAPK 수집.
패키지 구조, 매니페스트 데이터, 권한, 리소스, 화면, 네트워크 신호, SDK, 기능, 보안 발견 사항의 정적 매핑.
증거 참조와 명시적
observed,inferred,unknown상태.F-Droid 및 GitHub Releases 검색 어댑터, 정확한 호스트 허용 목록 기반 공식 URL.
명시적으로 선택된 ADB 기기에서의 통제된 동적 분석, 비파괴적 탐색 및 민감한 흐름 차단.
로컬 웹 UI, JSON API, MCP 호환 stdio 도구.
선택적 제한된 DeepSeek 부록이 포함된 결정적 Markdown 출력.
Related MCP server: APK Security Guard MCP Suite
빠른 시작
요구 사항: Python 3.11 이상 및 uv.
uv sync --locked --extra dev
uv run --locked apk-docforge serve
open http://127.0.0.1:8765/정적 분석을 직접 실행:
uv run --locked apk-docforge analyze ./app.apk --out ./outputs/app --mode static생성된 디렉터리에는 analysis_summary.json, report.md, codex_ingestion_prompt.md, qa_report.json 및 버전 관리된 JSON 증거가 포함됩니다.
보안 기본값
HTTP 서비스는 의도적으로 로컬 전용입니다:
serve는 기본적으로127.0.0.1을 사용하며 다른 모든 바인드 주소를 거부합니다.ASGI 계층도 소켓 주소가 루프백이 아닌 HTTP 클라이언트를 거부합니다.
신뢰할 수 있는 호스트는 정확히
127.0.0.1과localhost입니다.브라우저 교차 출처 접근은 구성된 루프백 출처로 제한됩니다.
업로드 본문은 멀티파트 파싱 전과 중에 크기가 제한됩니다.
다운로드는
Content-Length를 검증하고, 스트리밍 바이트 제한을 적용하며, 모든 리디렉션 및 최종 URL을 소스 정책에 대해 재검증합니다.중첩 아티팩트, 아카이브 확장, 매니페스트 읽기에는 각각 독립적인 제한이 있습니다.
설정은 모드
0600의 일반.env파일에 원자적으로 기록됩니다.
기본 제한은 보수적이며 환경 변수를 통해 구성할 수 있습니다:
설정 | 기본값 |
| 256 MiB |
| 512 MiB |
| 256 MiB |
| 10,000 |
| 1 GiB |
| 5 |
로컬 구성에는 .env.example을 복사하고 결과 파일을 비공개로 유지하십시오:
cp .env.example .env
chmod 600 .env위협 모델 및 취약점 보고 절차는 SECURITY.md를 참조하십시오.
명령어
apk-docforge analyze ./app.apk --out ./outputs/app --mode static
apk-docforge search "TeamNewPipe/NewPipe" --sources github --limit 1
apk-docforge download --candidate-id 3 --out ./downloads
apk-docforge import-device --package com.example.app --out ./downloads
apk-docforge sources
apk-docforge serve
apk-docforge mcp-server동적 분석은 선택 사항이며 승인된 기기 시리얼이 필요합니다:
apk-docforge analyze ./app.apk \
--out ./outputs/app-dynamic \
--mode dynamic \
--device emulator-5554search는 후보를 로컬 SQLite 인덱스에 저장하고 download가 수락하는 숫자 ID를 출력합니다.
다운로드 정책
F-Droid 다운로드는 승인된 F-Droid 호스트에만 머무릅니다.
GitHub 릴리스 자산은 승인된 GitHub 자산 호스트에만 머무릅니다.
공식 URL은 HTTPS와
APK_DOCFORGE_OFFICIAL_URL_ALLOWLIST의 정확한 DNS 호스트를 요구합니다. IP 리터럴은 거부됩니다.리디렉션 대상과 최종 응답 URL은 응답 본문이 수락되기 전에 동일한 정책으로 평가됩니다.
타사 APK 미러 및 Google Play 스크래핑은 비활성화되어 있습니다.
Google Play Developer 어댑터는 예약된 통합 지점일 뿐입니다. 자격 증명 경로가 구성되어 있어도 현재 아티팩트를 검색하거나 다운로드하지 않습니다.
선택적 DeepSeek 문서화
선택적 문서 부록을 원하는 경우에만 키를 설정하십시오:
export APK_DOCFORGE_DOCUMENTATION_PROVIDER=deepseek
export DEEPSEEK_API_KEY=...APK 바이너리와 완전한 디컴파일된 소스는 전송되지 않습니다. 공급자는 제한된 JSON 요약과 증거 참조만 받습니다. 키가 없으면 결정적 로컬 보고서를 계속 사용할 수 있습니다.
API 및 MCP
로컬 API에는 /api 아래에 health, upload, search, download, analysis, report, findings, features, screens, sources 및 settings 엔드포인트가 포함됩니다. 대화형 OpenAPI 문서는 http://127.0.0.1:8765/docs에서 확인할 수 있습니다.
MCP 스모크 테스트:
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}\n' \
| uv run --locked apk-docforge mcp-server선택적 컨테이너
Docker 서비스는 루프백에만 바인딩되며 프로필이 선택된 경우에만 활성화됩니다. MobSF는 게시된 버전 이미지로 고정됩니다:
docker compose --profile mobsf up mobsfPostgreSQL과 Redis는 향후 통합 서비스입니다. 애플리케이션은 기본적으로 SQLite를 사용합니다. 향후 프로필을 시작하기 전에 비어 있지 않은 비밀번호를 설정하십시오:
export APK_DOCFORGE_POSTGRES_PASSWORD='replace-with-a-strong-secret'
docker compose --profile future up postgres redis개발
uv sync --locked --extra dev
uv run --locked --extra dev ruff check .
uv run --locked --extra dev pytestCI는 Python 3.11 및 3.12에서 동일한 린트, 포맷, 테스트 게이트를 실행합니다.
현재 제한 사항
정적 분석 깊이는
apkanalyzer,jadx,apktool과 같은 선택적 Android 도구에 따라 달라집니다.동적 모드는 선택된 하나의 기본 APK만 설치합니다. 분할 패키지 설치는 구현되지 않았습니다.
런타임 탐색은 자격 증명 입력, 로그인, 결제, 게시, 공유, 삭제, 구독 또는 로그아웃 흐름에 절대 진입하지 않습니다.
트래픽 가로채기 및 Frida 기반 계측은 의도적으로 포함되지 않습니다.
원격 바인딩이 지원되지 않으므로 API에는 원격 인증이 없습니다.
Available Tools
9 toolsanalyze_artifactC
Run static apk-docforge analysis for a local APK/APKS/XAPK artifact.
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| mode | No | static | |
| path | Yes | ||
| device | No |
TDQS
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.
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.
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.
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.
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.
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.
download_appC
Download a persisted allowed candidate by numeric candidate id with quarantine and provenance.
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | downloads | |
| candidate_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden. It mentions quarantine and provenance but does not clarify what these mean for the output (e.g., is the file transformed, does it include metadata?), nor does it state authentication, return format, or any side effects. For a download tool, it does not disclose if quarantine files are downloaded in a special form or if provenance is included as metadata. This leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is concise and front-loaded with the action. It includes relevant qualifiers ('persisted allowed candidate', 'quarantine and provenance') without excessive wordiness. However, it could be slightly clearer, but overall it is efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 2 parameters, 0% schema coverage, no annotations, and no output schema, the description needs to compensate. It mentions quarantine and provenance, which are output-related, but does not explain the output format, file location (out parameter), or any constraints. The description is insufficient for an agent to invoke the tool correctly without additional assumption.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, and the description does not explain the meaning of the 'out' parameter (with default 'downloads') despite it being optional. It only reuses the parameter name 'candidate_id' in a description that says 'numeric candidate id', but the schema type is string, which is contradictory and unhelpful. The description adds no information about the 'out' parameter or the format expected for candidate_id.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('download'), the resource ('persisted allowed candidate'), and the identifier ('numeric candidate id'), and briefly mentions 'quarantine and provenance' which hints at additional output contents, distinguishing it from sibling search/analysis tools. However, it does not differentiate from the sibling 'get_*' tools explicitly, as they may also retrieve candidate-related data, but the verb 'download' suggests file retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus siblings like 'analyze_artifact' or 'get_report'. The description implies use when a persisted allowed candidate needs to be downloaded, but there are no explicit alternatives or exclusions. This is minimal guidance without context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_analysisC
Get analysis summary and output paths by analysis id or database id.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden for behavioral disclosure. It only says 'Get' and does not explicitly state that this is a read-only operation, what the output looks like, whether any side effects occur, or what happens on failure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads the purpose and result. It wastes no words, though it could be slightly longer to clarify the identifier ambiguity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter retrieval tool, the description provides the basic purpose and expected output ('summary and output paths'). However, with no output schema and no annotations, it leaves gaps around output structure, the database-id option, and error behavior, making it only minimally adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description is the only source of parameter meaning. It mentions 'analysis id or database id,' but the schema only has analysis_id, creating ambiguity about whether analysis_id accepts a database id or whether a separate parameter is missing. No format or validation details are provided.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'analysis summary and output paths,' and it indicates lookup by an identifier. It is distinct enough from siblings like analyze_artifact and get_report, though it does not explicitly differentiate itself from them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus alternatives such as get_report or analyze_artifact. It only states the mechanism ('by analysis id or database id') without specifying context, prerequisites, or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_codex_promptC
Get the generated Codex ingestion prompt for an analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. The description gives no indication of side effects, read-only nature, performance, or any caveats associated with generating a prompt. This is a significant transparency gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loads the primary purpose in a single sentence. However, the sentence is somewhat cryptic due to the undefined 'Codex' term, and the structure could benefit from a brief clarification of what the prompt is used for.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With a minimal description, no output schema, and no annotations, this tool description is incomplete. Given the existence of several sibling analysis tools, the description fails to provide sufficient context to distinguish its output and usage, especially for an agent that might not know what 'Codex ingestion prompt' means.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description mentions the single parameter implicitly ('for an analysis'), but with 0% schema coverage, it doesn't add any meaning beyond the schema's basic 'analysis_id' string type. It doesn't explain what the analysis_id represents or how to obtain it, leaving the agent without sufficient parameter context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool gets a Codex ingestion prompt for an analysis, which is specific to the 'prompt' resource and distinguishes it from other analysis-related tools like get_analysis and get_report. However, the term 'Codex ingestion prompt' is opaque without further explanation of what makes it a Codex-specific prompt, so the purpose is only partially clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when this tool should be used versus alternatives like get_analysis or get_report. The description doesn't clarify the relationship between a Codex ingestion prompt and other analysis outputs, leaving the agent to infer usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_reportB
Get the Markdown report for an analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It indicates a read operation but does not disclose potential errors, auth requirements, or whether the report is freshly generated. It adds minimal behavioral context beyond the name.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is direct and to the point, with no unnecessary words. It earns its place by stating exactly what the tool does.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite being a simple tool with one parameter, the description is under-specified. It lacks details about the return format (beyond 'Markdown'), error behavior, or how to use the analysis_id in practice. Given no annotations and no output schema, the description should provide more context to be complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must explain the parameter. It implicitly references analysis_id by saying 'for an analysis', but does not explain what the ID is, how to obtain it, or any format constraints, leaving the agent to infer meaning from the parameter name alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Get' and resource 'Markdown report' scoped to 'an analysis', making it clear what the tool returns. It distinguishes itself from siblings like get_analysis by specifying 'Markdown report' rather than generic analysis data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 versus alternatives. It does not mention get_analysis or other related tools, leaving the agent without context for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_featuresB
List inferred and observed features for an analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'list', implying read-only, but it does not mention output shape, pagination, filtering, required permissions, or any other runtime behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The entire description is one compact, front-loaded sentence. There is no filler or redundant detail; every word carries meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter list tool with no output schema, this is minimally adequate: it names the resource and its scope. However, it does not explain what 'features' means, how results are returned, or what distinguishes inferred from observed features, leaving contextual gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description only loosely maps to the analysis_id parameter with 'for an analysis'. This is minimal compensation since the parameter name already indicates it is an analysis identifier.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'List' plus a clear resource, 'features' with 'inferred and observed' qualifiers, scoped to 'an analysis'. It distinguishes clearly from sibling tools like list_findings and list_screens, which focus on different artifact types.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance about when to use this tool instead of the siblings. The phrase 'for an analysis' implies a usage context, but it does not offer any alternatives, exclusions, or prerequisites, so the agent gets no direction for selecting between list_features, list_findings, or get_analysis.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_findingsB
List security findings for an analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full transparency burden, but it only states the basic action. It does not mention whether results are paginated, ordered, readonly, permission-restricted, or what happens if the analysis does not exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, short sentence with no filler, redundant phrasing, or unnecessary details. It is easy to parse and front-loads the core verb and object.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with only one parameter and no output schema, so the core action is minimally conveyed. However, the description omits what the findings list returns, any limitations, and interaction with sibling tools, which leaves clear contextual gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter is analysis_id, but the schema covers 0% with no description and no format details. The tool description only implies its purpose through the phrase 'for an analysis,' which is minimal compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('List') and an explicit resource ('security findings') with a clear scope ('for an analysis'). It distinguishes itself from sibling tools like list_features and list_screens by targeting a distinct resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus related tools like get_analysis, get_report, or list_features. There are no exclusions, prerequisites, or alternative tool references.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_screensC
List static screens mapped for an analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It indicates a read operation but does not mention return format, pagination, error conditions, or any side effects. The description adds little beyond what the name and schema already imply.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, short sentence with no redundant words. It is front-loaded with the verb and resource, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Though the tool is simple (one parameter, no output schema), the description lacks essential context such as what static screens are, whether the result is a list of IDs or names, and any limitations. Given the absence of annotations and output schema, this description is under-specified for reliable use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has one required parameter, analysis_id, with no description in the schema. The tool description references 'an analysis' which loosely maps to analysis_id but does not explain its semantics, type, or expected format. With 0% schema coverage, the description fails to compensate adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool as a list operation targeting 'static screens' scoped to an analysis. It is concise and specific enough to distinguish from other list tools like list_findings or list_features, though it could be more explicit about what 'static screens' entails.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives such as get_analysis or list_features. The phrase 'mapped for an analysis' implies a prerequisite (analysis_id) but does not explain context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_appsA
Search allowed app sources without downloading, then persist candidates locally.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| sources | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full responsibility for behavioral disclosure. It reveals that the tool searches only 'allowed' sources, does not download, and persists candidates locally—key traits beyond a simple search. It does not, however, mention error handling, return behavior, or side effects beyond persistence.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence contains no fluff. Every word contributes meaning, and it efficiently conveys both the primary action and the persistence side effect.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
In the absence of an output schema, the description should explain what the tool returns (e.g., candidates, success status, or a list). It mentions persisting candidates locally, which implies a side effect but not the return payload. It also does not clarify what 'candidates' are or how they might be used with sibling tools like 'get_analysis' or 'download_app'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description does not mention any of the three parameters, and schema coverage is 0%. While parameter names and defaults are present in the schema, the description adds no extra clarity about 'query', 'limit', or 'sources', leaving the agent to infer meaning (especially for valid 'sources' values).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Search') and resource ('allowed app sources') and clarifies the non-downloading nature, effectively distinguishing it from sibling 'download_app'. The addition of 'persist candidates locally' further specifies behavior beyond the tool name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implicitly contrasts with downloading by stating 'without downloading', giving the agent a clear when-not-to-use signal. It also notes a side effect (persistence), but does not explicitly name alternative tools or exhaustive when-to-use conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
9 tool updates
v0.1.0- First observed
analyze_artifact - First observed
download_app - First observed
get_analysis - First observed
get_codex_prompt - First observed
get_report - First observed
list_features - First observed
list_findings - First observed
list_screens - First observed
search_apps
TDQS
Scored across 9 tools
Each tool targets a distinct stage or artifact: search/download handle acquisition, analyze_artifact creates the analysis, and the get/list tools expose distinct outputs such as findings, features, screens, reports, or prompts. There are no overlapping tool purposes that would confuse an agent.
All tool names follow a consistent verb_noun pattern: search_*, download_*, analyze_*, get_*, and list_*. The get_ vs list_ split is also consistent: get_ returns a single item or document, while list_ returns a collection.
Nine tools is an appropriate size for an APK analysis pipeline. Every tool maps to a distinct workflow step or output artifact, and none feel redundant or extraneous.
The pipeline covers the full lifecycle needed for APK docforge work: search, download, analysis, report generation, prompt generation, and detailed findings/feature/screen listings. The only minor gap is the absence of a general list_analyses or candidate-management tool, which could limit discoverability but does not break the core workflow.
Maintenance
Related MCP Connectors
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
MCP server for static security analysis of Android source code
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides a one-stop automated solution for Android APK security analysis by integrating tools like JEB, JADX, APKTOOL, FlowDroid, and MobSF into unified MCP standard API interfaces.11-
- FlicenseNot gradedqualityDmaintenanceIntegrates multiple Android APK security analysis tools into MCP standard APIs for automated static and dynamic analysis and vulnerability detection.-
- AlicenseNot gradedqualityDmaintenanceEnables authorized Android security testing with static and dynamic analysis, Frida instrumentation, storage inspection, and traffic interception via MCP tools.2MIT
- AlicenseNot gradedqualityDmaintenanceLocal static-analysis assistant for Android malware research that manages investigation cases, exposes MCP tools via a local server, and persists evidence-backed findings without cloud dependency.MIT