Skip to main content
Glama

swift_upload_object

Upload a small object to OpenStack Swift from plain text or base64 content, enforcing size limits for direct object creation.

Instructions

Upload a small object to Swift from text or base64.

Service: Swift (object-store). Mutates state. Provide exactly one of text or content_base64. Default cap is 1 MiB and the hard maximum is 5 MiB. This is not a general large-object uploader.

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": {
      "container": "<container>",
      "object_name": "<object_name>"
    },
    "name": "swift_upload_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
containerYes
max_bytesNo
object_nameYes
content_typeNo
content_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does carry meaningful burden and it delivers the key fact that the call "Mutates state", plus default 1 MiB and hard 5 MiB caps and the mutually exclusive payload rule. It says nothing about overwrite semantics when object_name already exists, whether payloads are validated as base64, or any auth/permission requirements — significant gaps for a write operation.

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?

Front-loaded with the action and resource, then each terse fragment adds a distinct operational fact: service, mutation, exclusivity rule, size caps, and scope limit. There is no filler and no repetition.

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 described, and the description covers mutation behavior and payload constraints well. For a 6-parameter write tool at 0% schema coverage, however, the unexplained container/object_name/content_type parameters and unstated overwrite behavior leave real gaps.

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 explains three of six parameters: text, content_base64 (mutually exclusive) and max_bytes (default 1 MiB, ceiling 5 MiB). container, object_name and content_type remain completely undefined in both schema and description.

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 pairs a specific verb and resource ("Upload a small object to Swift") with its accepted input forms ("text or base64") and explicitly labels the service as Swift object-store, which implicitly separates it from the S3 upload siblings. It stops short of naming an alternative tool, so differentiation is clear but not spelled out.

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?

It gives a real selection rule ("Provide exactly one of text or content_base64") plus hard size limits and an explicit exclusion: "This is not a general large-object uploader." It never names the tool to use for large objects, so the agent must infer the alternative from the sibling list.

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