Skip to main content
Glama

boss_clean

Clean expired cache and temporary files from BOSS Zhipin workflows, with options to preview deletions before removing them and to purge snapshots or exports older than a set number of days.

Instructions

清理过期缓存和临时文件 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]

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

Input Schema

NameRequiredDescriptionDefault
allNo全量清理
daysNo清理超过指定天数的快照和导出文件
dry_runNo仅预览不删除

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / days
      Added value: +{
      +  "default": 30,
      +  "description": "清理超过指定天数的快照和导出文件",
      +  "maximum": 36500,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Addedv1.19.1
  3. Removedv1.18.0
  4. Addedv1.17.0
  5. Removedv1.16.0
  6. First observedv1.11.0

TDQS

C2.9/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 burden of behavioral disclosure, but it only says the tool “cleans” and does not state that this destroys files irreversibly, that `dry_run:false` is the default, or that the operation is scoped to snapshots and exports. For a destructive maintenance operation, that is a significant gap.

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 compact sentence with the purpose front-loaded, so there is no wasted prose. The availability tag mixes operational metadata into the description, which is slightly noisy but does convey role and platform restrictions.

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

Completeness3/5

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

The tool has three optional, defaulted parameters, all fully documented in the schema, and no output schema, so the description's job is small. However, for a deletion tool with no annotations, the description should still say whether the deletion is permanent and what the preview mode returns; the schema implies that the tool supports preview, but the description never states it.

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 description coverage is 100%: `all`, `days`, and `dry_run` are each documented, with defaults and bounds. The description adds no meaning beyond the schema, such as whether `all` overrides `days`, which is the correct baseline when the schema already does the explanatory work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource: it cleans expired cache and temporary files, which tells an agent exactly what the tool does. It does not reference any sibling because none of the listed siblings performs a cache-cleanup task, so there is nothing meaningful to differentiate.

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 says nothing about when an agent should call this tool, what to do first, or what to avoid. The bracketed availability metadata (roles and platforms) is context, not usage guidance, so an agent still has to infer why it would need cleanup, such as whether storage is full or space is low.

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