Skip to main content
Glama

capability

Execute actions like sending SMS or generating invoices using capability-based routing. APIClaw automatically selects providers, handles fallbacks, and optimizes for cost and speed.

Instructions

Execute an action by capability, not provider. APIClaw automatically selects the best provider, handles fallback, and optimizes for cost/speed. Example: capability("sms", "send", {to: "+46...", message: "Hello"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capabilityYesCapability ID: "sms", "email", "search", "tts", "invoice", "llm"
actionYesAction to perform: "send", "search", "generate", etc.
paramsYesParameters for the action (capability-standard params, not provider-specific)
preferencesNoOptional routing preferences
subagent_idNoOptional subagent identifier for multi-agent tracking
ai_backendNoAI backend making this request (e.g., "claude-3-sonnet", "gpt-4"). Used for analytics.

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/nordsym/apiclaw'

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