Skip to main content
Glama

liara_get_bucket

Retrieve configuration and status details for a specific object storage bucket on the Liara cloud platform.

Instructions

Get details of a specific bucket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the bucket

Implementation Reference

  • The main handler function that implements the logic to retrieve details of a specific Liara object storage bucket by its name using the Liara API client. This matches the expected 'liara_get_bucket' tool functionality.
    export async function getBucket( client: LiaraClient, name: string ): Promise<Bucket> { validateRequired(name, 'Bucket name'); return await client.get<Bucket>(`/v1/buckets/${name}`); }
  • TypeScript interface defining the structure of a Bucket object returned by the getBucket handler.
    export interface Bucket { _id: string; name: string; region: string; createdAt: string; }
  • Imports helper functions for validation and response unwrapping used in the bucket operations.
    import { validateRequired, unwrapApiResponse } from '../utils/errors.js';
  • Uses validation helper to ensure bucket name is provided.
    validateRequired(name, 'Bucket name');

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/razavioo/liara-mcp'

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