Skip to main content
Glama
alcylu

Nightlife Search

by alcylu

get_tonight

Find nightlife events happening tonight in your city, including concerts, clubs, and festivals, using local timezone and service-day logic.

Instructions

Get tonight's nightlife events using city timezone and service-day cutoff logic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNotokyo
genreNo
areaNo
limitNo
offsetNo

Implementation Reference

  • The 'get_tonight' tool is registered using `server.registerTool` in `src/tools/events.ts`. It utilizes the `searchEvents` service, passing "tonight" as the date argument.
    server.registerTool(
      "get_tonight",
      {
        description:
          "Get tonight's nightlife events using city timezone and service-day cutoff logic.",
        inputSchema: {
          city: z.string().default(deps.config.defaultCity),
          genre: z.string().optional(),
          area: z.string().optional(),
          limit: z.number().int().min(1).max(20).default(10),
          offset: z.number().int().min(0).default(0),
        },
        outputSchema: searchEventsOutputSchema,
      },
      async (args) => runTool(
        "get_tonight",
        searchEventsOutputSchema,
        async () =>
          searchEvents(deps.supabase, deps.config, {
            ...args,
            date: "tonight",
          }),
      ),
    );

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/alcylu/nightlife-mcp'

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