Skip to main content
Glama

build_archive_plan

Merge selected photo-checklist entries into an archive plan, assigning date summaries, content tags, and experiment folders for traceable lab photo archiving.

Instructions

把勾选清单合并成归档计划。

:param selected: 勾选清单条目,至少含 name、date、album。 :param summaries: {日期: 当日一句话总结},缺省用「实验记录」。 :param tags: {文件名: 内容标签},缺省用「照片」。 :param experiment: 实验名,归档时作为子目录分组。

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": {
      "selected": "<selected>"
    },
    "name": "build_archive_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
selectedYes
summariesNo
experimentNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful behavioral detail — the fallback values '实验记录' for summaries and '照片' for tags — but it never says whether planning touches the filesystem, whether the call is idempotent, or whether it mutates anything. For a no-annotation tool, the silent side-effect and statefulness profile is a real 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?

One front-loaded purpose sentence followed by per-parameter notes — no filler. The Sphinx-style ':param ...:' markup is slightly machine-unfriendly but readable, and every line earns its place.

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?

With four parameters, an output schema that already covers return values, and no annotations, the description documents inputs well and need not explain output. What is missing is workflow placement relative to preview_archive_plan and archive_photos, plus any statement of side effects, which leaves an agent guessing about ordering and safety.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: selected is described as a list whose entries must contain name, date and album; summaries as a date→sentence map with a default; tags as filename→tag with a default; experiment as a subdirectory grouping label. Only the precise object shapes (extra keys, key types) remain undocumented, which the schema's anyOf partially covers.

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 opening line names a specific action and output: merge the checked list into an archive plan. This cleanly separates a 'plan-building' tool from siblings such as preview_archive_plan and archive_photos, though it never names those siblings explicitly. An agent can tell what it produces, just not precisely where it sits in the workflow.

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?

There is no when-to-use / when-not-to-use statement and no mention of alternatives. The phrase 'merge the checked list' only weakly implies that a selection must exist first (via build_selection_page). The agent must infer on its own that this should be called before preview_archive_plan and archive_photos.

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