Skip to main content
Glama
MIT License
20
mcptool.go617 B
package tool type MCPTool struct { Name string `json:"name"` Description string `json:"description"` InputSchema map[string]interface{} `json:"inputSchema"` Execute func(input map[string]any) (any, error) `json:"-"` Annotations struct { Title string `json:"title,omitempty"` ReadOnlyHint bool `json:"readOnlyHint"` DestructiveHint bool `json:"destructiveHint"` IdempotentHint bool `json:"idempotentHint"` OpenWorldHint bool `json:"openWorldHint"` } `json:"annotations,omitempty"` }

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/fotoetienne/gqai'

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