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
/**
* Domain (App Domains) tool definitions
*/
import { ToolDefinition, getPaginationProperties } from './types.js';
export function getDomainTools(): ToolDefinition[] {
return [
{
name: 'liara_list_domains',
description: 'List all domains attached to apps',
inputSchema: {
type: 'object',
properties: getPaginationProperties(),
},
},
{
name: 'liara_get_domain',
description: 'Get details of a domain',
inputSchema: {
type: 'object',
properties: {
domainId: {
type: 'string',
description: 'The domain ID',
},
},
required: ['domainId'],
},
},
{
name: 'liara_add_domain',
description: 'Add a domain to an app',
inputSchema: {
type: 'object',
properties: {
appName: {
type: 'string',
description: 'The name of the app',
},
domain: {
type: 'string',
description: 'Domain name to add',
},
},
required: ['appName', 'domain'],
},
},
{
name: 'liara_remove_domain',
description: 'Remove a domain from an app',
inputSchema: {
type: 'object',
properties: {
domainId: {
type: 'string',
description: 'The domain ID to remove',
},
},
required: ['domainId'],
},
},
];
}