Skip to main content
Glama

Search events in a city

search_events
Read-onlyIdempotent

Use for any "what is on" question in one city over a period, or to find an event by artist, team or name: city slug, date_from and date_to (YYYY-MM-DD, at most 14 days apart; default the next 7 days), an optional query and category. Results are sorted by date, at most 25 (total says how many matched). Each event has its name, date, time, venue, category, its TripHook event page (event_page: link this first) and its ticket link (ticket_url). When the reply has more_on_page, the TripHook page lists more events than this tool returns: always show that line with its link. For one day plus whether other travellers are going, use events_and_company instead. The reply ends with links: show them as one short line, for example "Search on TripHook · What's on". Public fields only, never a person.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "city": "<city>"
    },
    "name": "search_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity slug, the city name in lower case with hyphens, as in triphook.me/events/<slug>, e.g. "vienna" or "new-york".
queryNoWords to look for in the event name or the performers, e.g. an artist, a team or a show: "rapid wien", "nutcracker". Every word must match; case and accents are ignored.
date_toNoLast day, YYYY-MM-DD, at most 14 days after date_from and at most 30 days from today. Default date_from plus 7 days, no later than the last day of that window.
categoryNoOne event category, as on the TripHook event pages: music, sport, film, theatre, outdoors, food, talk or other.
languageNoLanguage for the TripHook links, a code such as "de", "fr" or "pt-BR". Event pages exist in en, de, es, fr, it, pt, ru, tr, ja, ko, zh and ar; any other language gets the English page. Default English.
date_fromNoFirst day, YYYY-MM-DD in the city's calendar, e.g. "2026-11-21". Default today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent and non-destructive, but the description adds substantial behavior the annotations cannot convey: results sorted by date, capped at 25 with a total count, a more_on_page flag meaning the TripHook page holds more events, a trailing links block, and a 'public fields only, never a person' privacy constraint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary intent, then parameters, then return shape, then exclusion, then presentation rules — a sensible order. It is dense and long, and the output-formatting guidance (show links as one short line, always show the more_on_page line) could be tightened, but every sentence carries usable instruction rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of describing returns, and it does: ordering, the 25 cap, the total counter, the per-event fields (name, date, time, venue, category, event_page, ticket_url) and the more_on_page signal. An agent has enough to answer both what will come back and how to present it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents every parameter including patterns, enums and defaults. The description restates city, date range (max 14 days apart, default next 7 days), query and category but adds no format or syntax detail beyond the schema, and it never mentions the language parameter at all. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: 'what is on' questions in one city over a period, or finding an event by artist, team or name. It is immediately distinguishable from events_and_company, which it explicitly names as the single-day-plus-attendees alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use framing ('any "what is on" question in one city over a period') and an explicit when-not with a named alternative ('For one day plus whether other travellers are going, use events_and_company instead'). Nothing is left to inference for route selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources