Skip to main content
Glama

EventApp — pasākumi Latvijā / events in Latvia

Popular events

popular_events
Read-onlyIdempotent

The events most popular on EventApp over the last 7 days (populārākie pasākumi: most viewed, liked, saved, shared and ticket-clicked), still upcoming, optionally in one city or category. For 'what's popular / trending / everyone is going to'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "popular_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity or town in Latvia (pilsēta), e.g. Rīga, Riga, Liepāja, Jūrmala, Cēsis. Diacritics optional. list_cities names them all.
limitNoHow many (default 10, at most 20).
categoryNoCategory, in English or Latvian, any form: Music (concerts, koncerti), Theater (izrādes, teātris), Movie (cinema, kino), Comedy (stand-up), Dance (dejas), Exhibition (izstādes, muzeji), Festival (festivāli), Sports (sports), Food (degustācijas), Education (workshops, meistarklases, lekcijas), Family (kids, bērniem), Nightlife (ballītes, klubi), Market (tirdziņi). list_categories names them all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds useful ranking semantics beyond annotations: popularity is based on views, likes, saves, shares, and ticket clicks over a 7-day window, with only upcoming events included.

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

Conciseness5/5

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

The definition is one front-loaded sentence that covers the resource, ranking basis, time window, upcoming-only constraint, filters, and use case. The parenthetical and quoted use-case phrase are compact and earn their place.

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

Completeness4/5

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

For a simple read-only discovery tool with fully described parameters and no output schema, the description gives enough information to select and invoke it correctly. It does not explain result shape, ordering details, or pagination beyond 'most popular', which is a modest remaining gap.

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 description coverage is 100%, with city, limit, and category fully documented including examples and bounds. The description only says the city/category filters are optional and does not add syntax, defaults, or constraints beyond the schema, so the baseline score applies.

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?

It states a specific resource (events) and precise scope: most popular over the last 7 days, still upcoming, optionally in one city or category. The 'what's popular / trending' phrase and upcoming-only constraint distinguish it semantically from generic search and happening-now siblings, even without naming them.

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

Usage Guidelines4/5

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

The description gives a clear trigger phrase for when to use it: 'what's popular / trending / everyone is going to.' It does not name alternatives such as search_events or suggest_events, nor does it state when not to use this tool, so it falls short of full explicit alternative guidance.

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