Skip to main content
Glama
TeleKashOracle

telekash-mcp-server

get_usage

Check API usage, rate limits, and tier status to monitor calls made, remaining, and upgrade options.

Instructions

Check your current API usage, rate limits, and tier status.

Returns calls made today, calls remaining, tier, and upgrade options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the get_usage tool handler.
    async function getUsage(
      supabase: SupabaseClient,
      tier: Tier,
    ): Promise<ToolResult> {
      return json({
        tier,
        transport: "streamable-http",
        limits: {
          free: "100 calls/day",
          calibration: "1,000 calls/day",
          edge: "unlimited",
        },
        upgrade: "Contact @TeleKashBot for tier upgrades",
      });
    }
  • Registration and dispatching of the get_usage tool within the main tool handler logic.
    case "get_usage":
      return getUsage(supabase, tier);
  • The MCP tool schema definition for get_usage.
      name: "get_usage",
      description: `Check API usage, rate limits, and tier status.`,
      inputSchema: { type: "object", properties: {}, required: [] },
    },

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/TeleKashOracle/mcp-server'

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