Skip to main content
Glama

Upload text object

put_object_text

Upload a text string to an S3-compatible bucket by specifying bucket, key, body, and optional ACL or content type; use binary clients for non-text files.

Instructions

[WRITE] S3 PutObject with string body (FA SDK upload-object). For binary uploads use other clients; this tool is text-oriented for agent safety.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aclNo
keyYes
bodyYes
bucketYes
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false and openWorldHint=true, so the '[WRITE]' marker is largely redundant; the description does add value by flagging the text-only limitation and the safety rationale. It omits the most important behavioral fact for a PutObject: that writing to an existing key overwrites it, and what auth/permissions are required.

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?

Two compact sentences with the operation type front-loaded, no filler. Slightly clipped to the point of leaving key facts (overwrite behavior, parameter meaning) unstated, but structurally sound.

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 mutating storage write with no output schema, two thin annotations, and zero parameter documentation, the description is well short of complete. Destructive overwrite semantics, required auth, and parameter expectations all go unaddressed.

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% across five parameters, and the description mentions none of them. It never explains bucket/key/body semantics, the acl enum options, or the content_type default, so it fails to compensate for the schema gap even though the schema names imply obvious meanings.

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 ('S3 PutObject with string body') plus the SDK route, which is unambiguous and distinguishes it from get_object_text and the bucket/object management siblings. It does not, however, name the sibling it competes with for uploads, so differentiation is implicit.

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 a partial exclusion ('For binary uploads use other clients') but names no concrete alternative tool and states no condition for when this should be used over, say, invoke_storage_api. Usage is implied rather than specified.

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