Skip to main content
Glama

artex_purge_assets

Clears the global asset graph before a fresh target run, removing stale shared assets that bloat planner context while leaving findings, explorations, and activity intact.

Instructions

TRUNCATE the GLOBAL asset graph (assets CASCADE) for a lean restart. The asset graph is shared across ALL tasks (assets.task_ids), so stale assets from prior targets bloat every planner context. Leaves findings / explorations / activity intact. Do this before a fresh run on a new target.

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": "artex_purge_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose destructiveness (TRUNCATE ... CASCADE), global blast radius across all tasks, and what survives, which is real value; however it never states irreversibility, whether confirmation or elevated privileges are required, or what the response reports, leaving meaningful gaps for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action and scope are front-loaded in the first clause, followed by the rationale (shared task_ids, context bloat) and the preserved tables. Each sentence adds a distinct fact with no filler.

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?

An output schema exists, so return values needn't be explained, and the description covers scope and preservation well. For a destructive, annotation-free tool it should still say whether the truncation is recoverable and what preconditions exist, which is the remaining gap.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly signals the tool is parameterless by framing the scope as implicit and global.

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 ("TRUNCATE the GLOBAL asset graph") plus the scope modifier (CASCADE) and makes the global, cross-task nature explicit. The note that findings/explorations/activity are untouched further delimits it from adjacent cleanup or delete operations.

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 an explicit trigger: "Do this before a fresh run on a new target." It also warns implicitly about timing by describing why stale assets are a problem. It stops short of naming an alternative tool or stating when not to purge (e.g., mid-run on a shared graph).

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