Skip to main content
Glama
call518

MCP-OpenStack-Ops

get_instance

Query OpenStack instances by name, ID, status, or custom search. Supports bulk retrieval and pagination for efficient management.

Instructions

Unified instance query tool supporting all instance retrieval patterns. Consolidates functionality from get_instance_details, get_instance_by_name, get_instances_by_status, and search_instances.

Functions:

  • Get specific instances by names or IDs

  • Filter instances by status (ACTIVE, SHUTOFF, ERROR, etc.)

  • Search instances across multiple fields (name, flavor, image, host, etc.)

  • List all instances with pagination

  • Support both summary and detailed information modes

Use when user requests instance information, status checks, or instance searches.

Args: names: Specific instance name(s) to retrieve (comma-separated: "vm1,vm2,vm3") ids: Specific instance ID(s) to retrieve (comma-separated) status: Filter by instance status (e.g., "ACTIVE", "SHUTOFF", "ERROR") search_term: Search term for partial matching across fields search_in: Fields to search in ("name", "status", "host", "flavor", "image", "availability_zone", "all") all_instances: If True, retrieve all instances (ignores other filters) detailed: If True, return detailed information; if False, return summary only limit: Maximum instances to return (default: 50, max: 200) offset: Number of instances to skip for pagination case_sensitive: Case-sensitive search (default: False)

Returns: Instance information in JSON format with metadata and pagination info.

Examples: get_instance(names="vm1,vm2") # Get specific instances get_instance(status="SHUTOFF") # Get all stopped instances get_instance(search_term="web", search_in="name") # Search by name get_instance(all_instances=True, detailed=False) # List all (summary)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesNo
idsNo
statusNo
search_termNo
search_inNoname
all_instancesNo
detailedNo
limitNo
offsetNo
case_sensitiveNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses behavior: supports pagination (limit, offset), case-sensitive search, all_instances flag, detailed mode, and returns JSON with metadata. No contradictions; it's a read-only tool, and all filtering modes are explained.

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?

Well-structured with sections: summary, functions, usage, args, returns, examples. Front-loaded with purpose. Slightly verbose but justified by the number of parameters and complex behavior. Every sentence adds value.

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?

Given 0 required parameters, 10 params, no annotations, and an existing output schema, the description covers all necessary aspects: param usage, return format, pagination, and examples. No gaps observed.

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

Parameters5/5

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

Schema has 0% description coverage, but the description provides detailed 'Args' section with explanations, defaults, and examples for all 10 parameters. Adds significant meaning beyond the schema's property types.

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?

Clearly states it's a unified tool for all instance retrieval patterns, listing specific functions like get by names/IDs, filter by status, search, and list all. Distinguishes itself from sibling tools by consolidating get_instance_details, get_instance_by_name, get_instances_by_status, and search_instances.

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?

Explicitly says to use when user requests instance information, status checks, or searches, but does not provide when-not-to-use or alternative tools beyond the consolidation statement. Sibling list is available externally, but the description itself lacks exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/call518/MCP-OpenStack-Ops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server