Skip to main content
Glama

s3_put_object

Upload a small S3 object from exactly one of text or base64 to a bucket and key; default cap 1 MiB, hard max 5 MiB.

Instructions

Put a small S3 object from text or base64.

Service: S3 API (not Swift). Mutates state. Provide exactly one of text or content_base64. Default cap is 1 MiB and the hard maximum is 5 MiB.

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": {
      "bucket": "<bucket>",
      "key": "<key>"
    },
    "name": "s3_put_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
textNo
bucketYes
max_bytesNo
content_typeNo
content_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 the most important trait: "Mutates state." It also states both the default and hard byte limits. It omits overwrite semantics (PUT to an existing key destroys the prior value), permission/auth requirements, and default content-type behavior.

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?

Four short lines, front-loaded with the action, then service/mutation note, then the payload constraint, then the size caps. Every line carries information, though the terse line breaks read more like bullet fragments than a coherent sentence.

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?

An output schema exists, so return values need not be explained, and the mutation and size constraints are covered. For a six-parameter write tool with zero annotation coverage, however, the absence of overwrite/destructive semantics and auth context leaves a meaningful gap.

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 partially does: it clarifies the mutual exclusivity of text and content_base64 and pins max_bytes to a 1 MiB default. It says nothing about bucket/key semantics or what content_type does when omitted, leaving three params undocumented anywhere.

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?

"Put a small S3 object from text or base64" names a specific verb and resource and adds the size qualifier that separates it from bulk upload paths. "Service: S3 API (not Swift)" explicitly differentiates it from the swift_upload_object sibling, though no other S3 siblings (e.g. s3_presign_put) are named.

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?

The size caps (1 MiB default, 5 MiB hard max) and the "small object" framing imply when this tool is appropriate, but there is no explicit when-not guidance or pointer to an alternative for larger payloads or presigned uploads. The constraint "Provide exactly one of text or content_base64" is a useful invocation rule but is about parameters, not tool selection.

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