Skip to main content
Glama

wait_a_moment

Introduce controlled delays in cryptocurrency operations to manage timing requirements, handle rate limits, or coordinate sequential actions within automated trading workflows.

Instructions

Wait for some short amount of time, no more than 10 seconds

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secondsYes

Implementation Reference

  • The handler function for the 'wait_a_moment' tool. It takes a 'seconds' parameter (float), sleeps for that duration using asyncio.sleep, and returns a dict confirming the wait time. Registered as an MCP tool via the @mcp.tool() decorator.
    @mcp.tool() async def wait_a_moment(seconds:float): """Wait for some short amount of time, no more than 10 seconds""" await asyncio.sleep(seconds) return {"waited": seconds}
  • The @mcp.tool() decorator registers the wait_a_moment function as an MCP tool.
    @mcp.tool()

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/emmaThompson07/armor-crypto-mcp'

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