Skip to main content
Glama

create_image

Creates a Glance image record with metadata and optional HTTP(S) URL import; use it to register images without local file uploads.

Instructions

Create a Glance image record, optionally importing a remote URL.

Service: Glance (image). Mutates state. Without source_url this creates metadata only (name, disk_format, container_format, visibility, min disk/ram, protected, properties). With source_url, Glance is asked to import that http(s) URL using the web-download method. Uploading a local image file is not implemented.

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": {
      "name": "<name>",
      "disk_format": "<disk_format>"
    },
    "name": "create_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
min_ramNo
min_diskNo
protectedNo
propertiesNo
source_urlNo
visibilityNoprivate
disk_formatYes
container_formatNobare

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it names the backing service, states that state is mutated, enumerates exactly which fields are metadata-only, and discloses the web-download import method and the local-upload gap. It does not address required credentials, whether the import is asynchronous (Glance web-download typically leaves the image in a queued/saving state), or failure behavior.

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?

The core branch (with/without source_url) is front-loaded before any enumeration, and the remaining lines are a compact field list plus one limitation note. No sentence restates the tool name or title, and nothing is padded.

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?

For a nine-parameter mutation tool with no annotations, the description covers mode selection, field roles, and one important unsupported path; the existing output schema relieves it of explaining return values. The remaining gap is operational context: permissions needed and whether the remote import completes synchronously.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it effectively names all nine parameters (name, disk_format, container_format, visibility, min_disk/min_ram, protected, properties, source_url) and assigns the most consequential one, source_url, a distinct behavioral meaning. It does not supply valid value sets for disk_format, container_format, or visibility beyond their defaults.

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?

The description opens with a specific verb and resource ("Create a Glance image record") and immediately splits the tool into two distinct behaviors: metadata-only versus remote-URL import. That framing lets an agent distinguish this from delete_image/update_image and from unrelated create_* siblings without opening the schema.

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 explicit conditions tied to source_url: omit it for a metadata-only record, supply it to trigger a web-download import. It also rules out an alternative an agent might otherwise assume ("Uploading a local image file is not implemented"). It stops short of naming a sibling tool to use instead for local uploads.

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