Skip to main content
Glama

object_copy

Copy an object within a bucket or to another bucket in the same region server-side; existing destinations are refused unless overwrite is true. Set metadata or content type to replace copy metadata.

Instructions

Copy an object within a bucket or to another bucket in the same region, server side. Refuses when the destination exists unless overwrite is true. Passing metadata or content_type replaces the copy's metadata.

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": {
      "source_bucket": "<source_bucket>",
      "source_key": "<source_key>",
      "destination_bucket": "<destination_bucket>",
      "destination_key": "<destination_key>"
    },
    "name": "object_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo
metadataNo
overwriteNo
source_keyYes
version_idNo
content_typeNo
source_bucketYes
destination_keyYes
destination_bucketYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: the same-region constraint, server-side execution, the exists-refusal/overwrite gate, and the fact that passing metadata or content_type replaces the copy's metadata. This meaningfully clarifies the destructive surface implied by overwrite=true, consistent with destructiveHint=false. It stops short of disclosing failure modes or what the copy does with versioning/tags.

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?

Three tight sentences with the core operation stated first, then the conflict rule, then the metadata-replacement caveat. No filler, though the final sentence reads slightly telegraphic and could be split for scanability.

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?

For a 9-parameter mutation tool with 0% schema coverage, the description leaves version_id and region entirely unexplained, and doesn't mention that source and destination pairs are required. An output schema exists so return values need not be covered, but the input-side gaps are substantial.

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 coverage is 0%, so the description must carry all parameter meaning, and it only explains overwrite, metadata, and content_type. Two parameters — version_id (source version selection) and region (interacting with the 'same region' constraint) — are never addressed, leaving notable ambiguity for a 9-parameter tool.

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?

Specific verb+resource ('Copy an object') with clear scope: within a bucket or across buckets in the same region, executed server-side. The agent can tell this is a copy operation rather than a rename/compose, though it does not name the closest siblings (object_rename, object_compose) to sharpen the distinction.

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?

Provides useful conditional guidance — copy must stay in the same region, and the call is refused if the destination exists unless overwrite is true. However, it gives no guidance on when to choose this over object_rename or object_compose, and no prerequisites or permission notes.

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

Deploy Server

Other Tools