Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
apiclaw_help

Get help and see available commands. Start here if you are new to APIClaw.

discover_apis

Search for APIs based on what you need to do. Describe your use case naturally.

get_api_details

Get detailed information about a specific API provider, including endpoints, pricing, and features. Use compact=true to save ~60% tokens.

purchase_access

Purchase access to an API using your credit balance. Returns API credentials on success.

check_balance

Check your credit balance and list active API purchases.

add_credits

Add credits to your account. (For testing/demo purposes)

list_categories

List all available API categories.

call_api

Execute an API call through APIClaw. Supports single calls AND multi-step chains.

SINGLE CALL: Provide provider + action + params CHAIN: Provide chain array to execute multiple APIs in sequence/parallel with cross-step references.

Chain features:

  • Sequential: Steps execute in order, each can reference previous results via $stepId.property

  • Parallel: Use { parallel: [...steps] } to run concurrently

  • Conditional: Use { if: "$step.success", then: {...}, else: {...} }

  • Loops: Use { forEach: "$step.results", as: "item", do: {...} }

  • Error handling: Per-step retry/fallback via onError

  • Async: Set async: true to get chainId immediately, poll or use webhook

Example chain: chain: [ { id: "search", provider: "brave_search", action: "search", params: { query: "AI agents" } }, { id: "summarize", provider: "openrouter", action: "chat", params: { message: "Summarize: $search.results" } } ]

list_connected

List all APIs available for Direct Call (no API key needed).

capability

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"})

list_capabilities

List all available capabilities and their providers.

register_owner

Register your email to create a workspace. This authenticates your agent with APIClaw. You will receive a magic link to verify ownership.

check_workspace_status

Check your workspace status, tier, and usage remaining.

remind_owner

Send a reminder email to verify workspace ownership (if verification is pending).

setup_metered_billing

Set up pay-per-call billing. Creates a subscription that charges $0.002 per API call at end of month.

get_usage_summary

Get current billing period usage and estimated cost for metered billing.

estimate_cost

Estimate the cost for a given number of API calls.

get_chain_status

Check the status of an async chain execution. Use the chainId returned from call_api with async: true.

resume_chain

Resume a failed chain from the point of failure. Use the resumeToken from the error response. Requires the original chain definition.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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