Skip to main content
Glama
types.ts722 B
import { type CallToolResult, type Tool, ToolSchema, } from "@modelcontextprotocol/sdk/types.js"; import type { z } from "zod"; const ToolInputSchema = ToolSchema.shape.inputSchema; export type ToolInput = z.infer<typeof ToolInputSchema>; export type ToolRegistration<T> = Tool & { handler: (args: T) => CallToolResult | Promise<CallToolResult>; }; export interface Character { name: string; agentId: string; routes: string[]; system: string; bio: string[]; lore: string[]; messageExamples: Array< Array<{ user: string; content: { text: string; }; }> >; postExamples: string[]; topics: string[]; style: { all: string[]; chat: string[]; post: string[]; }; adjectives: string[]; }

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/Akrasia0/S-MCP'

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