Skip to main content
Glama

apk_teardown_delete_job

Destructive

Purge an APK teardown job's stored record and result by job_id before their normal expiry. This deletes the saved analysis; retrieve any needed result with apk_teardown_job_status first, or use apk_teardown_diff to compare completed jobs before purging them. Re-running analysis requires a new submission; this operation provides no restoration of the deleted record.

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": {
      "job_id": "<job_id>"
    },
    "name": "apk_teardown_delete_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesrequired,apk-teardown job id, from apk_teardown_submit's response.

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.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real substance on top: what is destroyed (record and result), that it happens earlier than the default expiry, and that there is no restoration path. It does not address permissions or what a second invocation on an already-purged job_id does, which matters given idempotentHint=false.

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 scope, then prerequisites and consequence. Slight redundancy in restating that the saved analysis is deleted after already saying the record and result are purged, but nothing is padding.

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

Completeness4/5

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

For a one-parameter destructive tool with full schema coverage, an output schema, and destructive annotations, the description covers scope, prerequisites, alternatives, and irreversibility. The only meaningful omission is behavior on repeat invocation of a non-idempotent delete.

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?

With a single parameter at 100% schema coverage, the schema already documents job_id and its origin in apk_teardown_submit's response. The description reinforces that the id identifies the stored record to purge but adds no format, validation, or error semantics beyond the schema — baseline 3 applies.

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 gives a specific verb (purge/delete) against a specific resource (an APK teardown job's stored record and result), scoped by job_id and explicitly framed as an early deletion before normal expiry. That framing cleanly separates it from siblings like apk_teardown_job_status (read) and apk_teardown_submit (create).

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

Usage Guidelines5/5

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

It names the exact prerequisites and alternatives: fetch the result with apk_teardown_job_status first, or use apk_teardown_diff to compare completed jobs before purging. It also states the post-condition that re-running analysis requires a new submission, which tells the agent when this tool is the wrong last step.

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.