Skip to main content
Glama

esxi_stage_finalize

Destructive

Finalize ESXi staged file transfers by verifying total bytes and SHA256, returning a source_job_id for transfer_start.

Instructions

核对完整字节数及SHA256,完成暂存后可作为transfer_start的source_job_id。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description does not acknowledge that finalization commits or mutates anything irreversible, nor what happens to the staged data afterwards. Critically, it never mentions that dry_run is a parameter that defaults to true, so an agent may believe the operation has executed when it has not.

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?

A single compact sentence with no filler, front-loading the verification action and then the downstream consequence. Efficient, though very terse for a destructive, non-idempotent tool.

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

Completeness2/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, but for a destructive, non-idempotent finalize step the description omits the dry_run default, failure handling on hash mismatch, and any post-finalization side effects. Given 0% schema coverage, the definition is not complete enough to call safely.

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% with two parameters, so the description must compensate. It hints at job identity via 'source_job_id' but never explains what job_id refers to (a staging job handle?) or what dry_run does, leaving the default-true semantics completely undocumented.

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 names a specific action (verify full byte count and SHA256, then finalize the staging job) and ties the result to a concrete consumer, transfer_start's source_job_id, which distinguishes it from generic staging siblings. It is clear but never contrasts itself with esxi_stage_upload, esxi_stage_write_chunk, or esxi_transfer_cancel.

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?

Usage is implied: call this after chunks are staged so the job can be fed to transfer_start. There is no explicit 'when not to use', no prerequisite list (e.g. must all chunks be written first?), and no guidance on what to do if the SHA256 check fails.

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