Skip to main content
Glama

apk_teardown_submit

Submit an APK for static teardown analysis by fetching it from file_url server-side -- manifest, permissions, signing, SDK detection, tech stack, locales, and more. Poll apk_teardown_job_status for the result, or set webhook_url for push delivery. Identical submissions (by sha256) within 48h return the existing job instead of re-running analysis.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apk_teardown_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_urlNorequired,https:// URL to fetch the APK/bundle from server-side. Must resolve to a public address -- no loopback/private/link-local targets; every redirect hop is re-validated the same way before being followed.
file_nameNoDeclared filename (must end .apk/.xapk/.apks/.apkm). Defaults to file_url's path basename when omitted.
webhook_urlNoOptional https URL to receive a webhook POST when the job reaches a terminal state. Must resolve to a public address.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the write/open-world/destructive profile, so the description's added value is the asynchronous lifecycle: submission is not the result, results come via polling or webhook, and the 48h sha256 dedup window returns an existing job. That dedup nuance is genuinely non-obvious behavior an agent needs. It does not mention cost, rate limits, or job expiry, but the core behavior beyond annotations is well covered.

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?

Three sentences, front-loaded with the action and followed by routing and dedup semantics; nothing is redundant with the schema. The dash-enumerated analysis outputs are slightly list-like filler, but they usefully signal scope to the caller.

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?

An output schema exists, so return values need not be explained, and the description still covers the submission model, the async handoff, and the dedup edge case. Nothing an agent needs to invoke this correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, and the schema already explains the https/public-address constraints, redirect re-validation, and the .apk/.xapk/.apks/.apkm extension rule for file_name. The description's only added semantic is that fetching happens server-side, which the schema already implies. With the schema doing the heavy lifting, baseline 3 is right.

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?

States a specific verb and resource ('Submit an APK for static teardown analysis') plus the mechanism ('fetching it from file_url server-side') and enumerates what the analysis covers (manifest, permissions, signing, SDK detection, tech stack, locales). It explicitly distinguishes itself from the sibling apk_teardown_job_status, which is the only other tool an agent could confuse it with.

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?

Gives concrete next-step routing: poll apk_teardown_job_status, or supply webhook_url for push delivery. It also documents the dedup condition (identical sha256 within 48h returns the existing job), which tells the agent when a call will not start new work. It stops short of stating exclusions, such as that local files must first be hosted at a public URL rather than uploaded directly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.