Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

get_quota

Check API key usage quotas for read, write, and note operations with daily and monthly remaining counts.

Instructions

查询当前 API Key 的调用配额,包括 read/write/write_note 三类的日/月剩余次数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler method that performs the API request to fetch quota information.
    async getQuota() {
      return this.request<GetQuotaResp>("GET", "/resource/rate-limit/quota");
    }
  • The interface defining the structure of the quota response.
    export interface GetQuotaResp {
      read: QuotaBucket;
      write: QuotaBucket;
      write_note: QuotaBucket;
    }
  • src/index.ts:490-499 (registration)
    The MCP tool registration for 'get_quota'.
    {
      name: "get_quota",
      description:
        "查询当前 API Key 的调用配额,包括 read/write/write_note 三类的日/月剩余次数。",
      inputSchema: {
        type: "object" as const,
        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/iswalle/getnote-mcp'

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