Skip to main content
Glama

swift_get_object_metadata

Retrieve metadata for a Swift object without downloading its body, enabling quick checks of object properties in an OpenStack container.

Instructions

Get Swift object metadata without the body. Service: Swift (object-store). Read-only. Does not mutate state.

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_get_object_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
containerYes
object_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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; it does disclose read-only semantics and that no state is mutated, which covers the safety profile an agent most needs. It says nothing about failure modes (missing container/object), auth requirements, or what write-free access entails, so coverage is partial rather than rich.

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?

Front-loaded and only three short sentences, with the most important distinction ('without the body') placed first. 'Service: Swift (object-store)' is mildly redundant with the tool name for an obviously Swift-scoped tool.

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 profile is stated. However, for a two-parameter tool with zero schema descriptions, the definition leaves parameter intent and error behavior entirely undocumented, which is thinner than ideal.

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% — the two parameters appear only as bare string titles ('Container', 'Object Name'). The description adds no meaning, format, or constraint on them, relying entirely on Swift naming conventions being familiar to the caller.

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+resource (get Swift object metadata) and adds the key scope qualifier 'without the body', which implicitly distinguishes it from swift_download_object. It stops short of naming any sibling explicitly, so the differentiation is left partly to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is offered beyond the implicit 'metadata not body' framing. There is no pointer to alternatives such as swift_download_object for content or swift_list_objects for enumeration.

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