Skip to main content
Glama

preview_archive_plan

Dry-run an archive plan without writing to disk: list the directories and filenames that would be generated so you can verify organization before committing.

Instructions

dry-run 预览:只列出将要生成的目录与文件名,不触碰磁盘。

:param plan: 归档计划列表。

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": {
      "plan": "<plan>"
    },
    "name": "preview_archive_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the most important trait, namely that it does not touch disk and is therefore non-destructive, and it states what the output contains. It says nothing about how an invalid or partial plan is handled, whether anything is validated, or what happens when the plan is empty.

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 behavior statement is short and front-loaded: the dry-run constraint and output contents come first. The trailing ':param plan:' docstring artifact is slight clutter but not harmful.

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?

An output schema exists, so return values need not be described. However, for a tool whose sole input is an opaque plan structure shared with sibling tools, the definition leaves the agent without guidance on how to construct or obtain that plan, which is a meaningful gap. Annotations are absent, but the key safety fact is covered.

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

Parameters2/5

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

Schema description coverage is 0%, and the only parameter is an array of free-form objects (items are typed as object with additionalProperties true, and no properties are defined). The description only restates the field as '归档计划列表' and gives no information about the shape of the plan entries or where the plan is supposed to come from.

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 uses a specific verb and resource: it is a dry-run preview that lists the directories and filenames that will be generated, and it does not touch disk. This clearly distinguishes it from a real archive action. However, it does not explicitly distinguish it from the sibling tool build_archive_plan, which it presumably consumes the output of.

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

Usage Guidelines3/5

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

The term 'dry-run 预览' implies that it should be used before a real archive operation, which is a reasonable usage signal. However, the description gives no explicit when-to-use, when-not-to-use, or step-order guidance (for example, build_archive_plan → preview_archive_plan → archive_photos); an agent must infer the workflow.

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