Skip to main content
Glama

rate_limit_limiter_acquire

Acquire rate limit tokens to manage API call frequency, checking availability and consuming tokens when allowed to prevent exceeding limits.

Instructions

[rate_limit] Atomically check AND consume — the most common operation. If allowed, consumes a token and returns {allowed: true, ...}. If denied, returns {allowed: false, ...} without consuming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
costNo
Install Server

Other Tools

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/0-co/agent-friend'

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