Skip to main content
Glama

trademark_stats

Retrieve trademark dataset statistics including total counts, status breakdowns, top international classes, and data source information to analyze trademark trends and distributions.

Instructions

Get statistics about the trademark dataset: total trademarks, status breakdown, top international classes, last updated timestamp, and data source information. Free endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool 'trademark_stats' is registered here and includes both its definition and its implementation handler.
    server.registerTool(
      "trademark_stats",
      {
        title: "Trademark Dataset Statistics",
        description:
          "Get statistics about the trademark dataset: total trademarks, status breakdown, " +
          "top international classes, last updated timestamp, and data source information. Free endpoint.",
        inputSchema: {},
      },
      async () => {
        const res = await apiGet<TrademarkStatsResponse>("/api/v1/trademarks/stats");
    
        if (!res.ok) {
          return {
            content: [
              {
                type: "text" as const,
                text: `API error (${res.status}): ${JSON.stringify(res.data)}`,
              },
            ],
            isError: true,
          };
        }
    
        return {
          content: [
            { type: "text" as const, text: JSON.stringify(res.data, null, 2) },
          ],
        };
      },
    );
  • Type definition for the response structure of 'trademark_stats'.
    interface TrademarkStatsResponse {
      dataset: string;
      source: string;
      update_frequency: string;
      stats: Record<string, unknown>;
    }

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/carrierone/verilexdata-mcp'

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