Skip to main content
Glama
Genesis CAM MCP

Genesis CAM MCP

by Soulsilent

export_job_archive

Exports a Genesis CAM job to a caller-specified TGZ archive path; set overwrite=true to replace an existing archive.

Instructions

将 Job 导出为 TGZ;覆盖已有文件必须显式设置 overwrite=true。

Genesis 10.05 的 export_job 只接受已存在的目录作为 path 参数,并在其中 自行生成 <job>.tgz;直接传文件路径会返回 112111(目录不存在或不可写)。 这里把目标文件的父目录交给 Genesis,再把产物改成调用方指定的文件名。

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": {
      "job_name": "<job_name>",
      "target_tgz_path": "<target_tgz_path>"
    },
    "name": "export_job_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_nameYes
overwriteNo
target_tgz_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose key behavior: the tool is destructive unless overwrite is default/omitted, it derives the existing-file guard from that flag, and it documents the underlying Genesis quirk and error code 112111. It does not describe what happens if the target parent directory is missing or unwritable, nor the return value; the output schema is present, which lowers the need.

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 purpose and overwrite constraint are front-loaded in one line, and the second paragraph explains why the wrapper exists. That rationale earns its place because it prevents a mis-call, though the prose could be trimmed slightly.

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 three-parameter export tool with no annotations and a present output schema, the definition covers the destructive-overwrite risk, path semantics, and the upstream quirk. Only edge cases such as unwritable directories and the meaning of job_name are left implicit.

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 0%, so the description must compensate, and it does explain what target_tgz_path means (final artifact path, parent directory handed to Genesis, then renamed) and what overwrite controls. job_name and the required/optional distinction are not explained, so it only partly fills the coverage gap.

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?

The opening line states a specific verb and resource (export Job as TGZ) and immediately names the exact production constraint (overwrite=true required to replace an existing file). The second paragraph explicitly distinguishes this tool from the underlying Genesis `export_job`, which behaves differently, so an agent can tell them apart without opening a schema.

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?

It gives clear conditions: use this when the caller wants a specific target filename, and it states the prerequisite that overwriting requires overwrite=true. It does not name an alternative tool or say when not to use it, but the wrapper-versus-native-export contrast effectively covers the main decision.

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