Skip to main content
Glama

备份导出全部数据

data_export

Copy all local JSON data from the JobOK data directory to a chosen folder for backup or machine migration. Runs locally; no upload.

Instructions

把本机数据目录下的全部 JSON 数据复制到一个目标目录,用于备份或换机迁移。只做本地复制,不会上传。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputDirNo导出目录绝对路径;缺省为「数据目录/exports/backup-<时间戳>」

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations, so the description carries the full burden; it usefully discloses that the operation is local-only and does not upload, which is valuable for a data-export tool. However, it omits other behavioral facts such as whether existing files in the target directory are overwritten or how the result is reported.

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?

Two sentences, front-loaded with the action and scope, and the local-only caveat placed second. 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?

For a low-complexity, one-optional-param export tool with no output schema, the description covers purpose, scope, and the privacy-relevant local-only behavior. Only minor gaps remain (overwrite behavior, return value), which are acceptable at this complexity.

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?

The single optional parameter has 100% schema description coverage including a documented default path, so the schema does the heavy lifting. The description adds no syntax or format detail beyond what the schema already provides, so baseline 3 applies.

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?

States a specific verb and resource: copy all local JSON data to a target directory, with the purpose (backup/migration) named. An agent can distinguish it from data_info, but it does not explicitly contrast with resume_export, the other export sibling.

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?

Gives implied usage (备份或换机迁移), which is reasonable context, but names no alternatives and no explicit when-not conditions (e.g. use resume_export for a single resume).

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