quota
View your API usage, daily limit, and plan name. Manage resource consumption and explore upgrade options for the database AI assistant.
Instructions
Check current API usage, daily limit, plan name, and upgrade options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- bin/server.js:76-81 (registration)Registration of the 'quota' tool in the TOOLS array. It is listed under the DISCOVER tier (free). It has no inputSchema beyond { type: 'object' }, meaning no required inputs. The handler for CallToolRequestSchema (line 190-193) simply returns a redirect message pointing to the hosted MCP server, as this file is a static local adapter.
{ name: "quota", description: "Check current API usage, daily limit, plan name, and upgrade options.", inputSchema: { type: "object" }, }, - bin/server.js:190-193 (handler)Generic catch-all handler for all tool calls (including 'quota'). It does not execute the tool logic locally; instead it returns a redirect message telling the user to use the hosted MCP server at https://data.thinair.co/mcp.
server.setRequestHandler(CallToolRequestSchema, async () => ({ content: [{ type: "text", text: REDIRECT_MESSAGE }], isError: false, }));