Skip to main content
Glama

object_put_text

Writes small UTF-8 text objects (up to 1 MiB) with optional content type and metadata, refusing to replace existing keys unless overwrite is enabled. Use presigned uploads for larger files.

Instructions

Write a small UTF-8 text object (at most 1 MiB) with an optional content type and user metadata. Refuses when the key exists unless overwrite is true; use presign_put for larger uploads.

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>",
      "text": "<text>"
    },
    "name": "object_put_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
textYes
bucketYes
regionNo
metadataNo
overwriteNo
content_typeNotext/plain; charset=utf-8

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds genuine behavior beyond them: a hard 1 MiB ceiling and conditional refusal when the key exists unless overwrite is true. It does not discuss atomicity of the existence check, permissions, or what happens to metadata on overwrite.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the size bound front-loaded and the escape hatch to presign_put trailing. Every clause adds a constraint or a routing rule.

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?

An output schema exists, so return values need not be described; the definition covers size limits, overwrite semantics, and the sibling alternative for a 7-parameter write tool. Remaining gaps are the bucket/region parameters and the default content type, which the description leaves unaddressed.

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 carry parameter meaning and only partly does: it explains text (UTF-8, ≤1 MiB), content_type (optional), metadata (user metadata), and overwrite (gates overwriting an existing key). Bucket, key naming, and region semantics are left entirely to the untyped schema.

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?

States a precise verb+resource ('Write a small UTF-8 text object') and immediately bounds it ('at most 1 MiB'), which separates it from the sibling presign_put without requiring a schema read.

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?

Names the alternative explicitly ('use presign_put for larger uploads') and states the condition that selects it. It lacks an explicit 'do not use this for X' beyond the size boundary, but the routing decision is clear.

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