Skip to main content
Glama

show_model

Retrieve detailed information about a specific trained AI model by providing its unique ID, enabling users to access model specifications and configuration data.

Instructions

Get details of a specific trained model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesModel ID (UUID)

Implementation Reference

  • src/mcp.ts:260-269 (registration)
    Tool registration for "show_model" in src/mcp.ts.
      name: "show_model",
      description: "Get details of a specific trained model.",
      inputSchema: {
        type: "object" as const,
        properties: {
          model_id: { type: "string", description: "Model ID (UUID)" },
        },
        required: ["model_id"],
      },
    },
  • Tool handler case for "show_model" which calls the client method.
    case "show_model":
      result = await client.getUserModel(args!.model_id as string);
      break;
  • The actual implementation of the "show_model" logic in the TuningEnginesClient class.
    async getUserModel(modelId: string): Promise<any> {
      return this.request("GET", `/api/v1/user_models/${modelId}`);
    }

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/cerebrixos-org/tuning-engines-cli'

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