Skip to main content
Glama

Get image

get_image
Read-onlyIdempotent

Retrieve OpenStack image details by ID, including status, visibility, formats, size, minimum disk/RAM, and tags. Use list_images to find IDs by name.

Instructions

Get one image by ID: status, visibility, formats, size, minimum disk and RAM, tags.

Use list_images to find IDs by name. Returns not_found if the image does not exist or is not visible to the selected project.

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": {
      "image_id": "<image_id>"
    },
    "name": "get_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_idYesImage ID, as returned by list_images.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
idYes
nameNo
sizeNo
tagsNo
ownerNo
statusNo
min_ramNo
checksumNo
min_diskNo
hash_algoNo
is_hiddenNo
created_atNo
hash_valueNo
updated_atNo
visibilityNo
disk_formatNo
is_protectedNo
virtual_sizeNo
container_formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / image_id / description
      Added value: +"Image ID, as returned by list_images."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and open-world behavior. Beyond that, the description adds useful behavioral context: it returns not_found when the image is missing or not visible to the selected project. It does not cover auth or rate limits, but those are less central here.

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 description is two tight sentences with the core action and returned fields front-loaded. The alternative lookup guidance and error condition follow without unnecessary wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, complete parameter descriptions, and rich annotations, and the description still adds the key retrieval and not-found semantics. An agent has enough information to invoke it correctly without guessing.

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 100%, so both parameters are already well documented. The description reinforces that the image ID comes from list_images and that visibility depends on the selected project, but it adds little syntax or format information beyond the 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?

The description uses a specific verb and resource: 'Get one image by ID'. It also lists the fields returned and distinguishes this from the sibling list tool by focusing on a single image and naming list_images as the lookup path.

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

Usage Guidelines5/5

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

It explicitly directs the agent to use list_images when it needs to find image IDs by name. The requirement to provide an ID and the not_found condition make the usage boundary clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.