Skip to main content
Glama

Event categories and cities

tw_categories
Read-onlyIdempotent

List event categories, sort orders, and main city IDs so you can filter Tiwall event searches by category or city.

Instructions

List Tiwall's event categories, sort orders and main cities with the ids tw_events needs.

Call this first when the user names a kind of event or a city. Category codes go into tw_events(category=...), city ids into tw_events(city=...) (a city name works too).

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": "tw_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds value beyond them by explaining what the data is for (supplying ids consumed by tw_events) and that a city name is also acceptable downstream, though it does not say whether the catalog is static/cacheable or how large the result set is.

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?

Two short sentences, both front-loaded: the first says what is returned, the second says when to call it and how to wire the results. No filler, no restatement of the title.

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 zero-parameter reference lookup with full annotation coverage, the description covers purpose, trigger, and downstream usage. With no output schema, it could say slightly more about the shape of the returned category/city records (e.g. name-to-id pairs) and whether results are stable, but nothing critical is missing.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4 and there is no schema meaning for the description to supplement. It usefully clarifies instead that the outputs are the inputs for another tool's category and city arguments, which is the only parameter-relevant fact here.

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 (List) plus the exact resources returned: event categories, sort orders, and main cities, along with the ids they carry. It also ties itself to the sibling tw_events by naming the ids that tool consumes, so an agent can distinguish it from tw_events and tw_venues without opening either schema.

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?

Gives a clear trigger ('when the user names a kind of event or a city') and a sequencing rule ('Call this first'), which is exactly the kind of routing guidance an agent needs. It stops short of stating when not to call it or naming an alternative lookup path, so it is clear but not fully exhaustive.

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