Skip to main content
Glama
definitions.ts953 B
// Types for API responses export interface Prompt { id?: string; name: string; description: string; tags?: string[]; instruction: string; sourceURL?: string; howto?: string; public?: boolean; author?: { displayName: string; }; createdAt?: string; updatedAt?: string; } export type ProjectRule = { id?: string; name: string; description: string; tags?: string[]; content: string; author?: { displayName: string; }; public?: boolean; sourceURL?: string; createdAt?: string; updatedAt?: string; }; export interface SearchPromptsResponse { searchPrompts: { results: Prompt[]; nextToken?: string; }; } export interface GetPromptResponse { listByName: { items: Prompt[]; }; } export interface ListRulesResponse { searchProjectRules: { results: ProjectRule[]; nextToken?: string; }; } export interface GetRuleResponse { listRuleByName: { items: Prompt[]; }; }

Implementation Reference

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/cremich/promptz-mcp'

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