Skip to main content
Glama
mikusnuz

umami-mcp

list_reports

Retrieve and manage saved analytics reports with pagination and sorting options for website data analysis.

Instructions

List all saved reports

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based)
pageSizeNoResults per page
orderByNoField to order by

Implementation Reference

  • The `list_reports` tool registration and handler implementation.
    server.tool(
      "list_reports",
      "List all saved reports",
      {
        page: z.number().optional().describe("Page number (1-based)"),
        pageSize: z.number().optional().describe("Results per page"),
        orderBy: z.string().optional().describe("Field to order by"),
      },
      async ({ page, pageSize, orderBy }) => {
        const data = await client.call("GET", "/api/reports", undefined, {
          page,
          pageSize,
          orderBy,
        });
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

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/mikusnuz/umami-mcp'

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