Skip to main content
Glama

liara_get_plan

Retrieve details for a specific cloud infrastructure plan by providing its ID to manage resources on the Liara platform.

Instructions

Get details of a specific plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planIdYesThe plan ID

Implementation Reference

  • The core handler implementation for the 'liara_get_plan' MCP tool. This function takes a LiaraClient and planId, then fetches the specific plan details from the Liara API endpoint /v1/plans/{planId}. Matches the tool signature and logic.
    export async function getPlan( client: LiaraClient, planId: string ): Promise<Plan> { return await client.get<Plan>(`/v1/plans/${planId}`); }
  • TypeScript interface defining the Plan object structure returned by the liara_get_plan tool. Used in the function signature and API responses.
    export interface Plan { _id: string; name: string; cpu: number; memory: number; // in MB disk: number; // in GB price: number; type: 'app' | 'database' | 'vm'; }

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