Skip to main content
Glama
publiq UiTdatabank MCP server

publiq UiTdatabank MCP server

Create event

create_event

Create a new UiTdatabank event as a draft or publish it immediately by linking an existing location, event type, and organizer; returns the new event ID.

Instructions

Create a new event in UiTdatabank. Before calling: find the location with search_places and the event type with list_event_types, and reuse an organizer from search_organizers. The event is created as a DRAFT unless publish is true. Returns the new event's id. Not idempotent: if a call times out, check with search_events whether the event exists before calling again.

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": {
      "name": "<name>",
      "eventTypeId": "<eventTypeId>",
      "locationId": "<locationId>",
      "calendar": "<calendar>"
    },
    "name": "create_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPlain-text title in the main language.
labelsNo
publishNotrue = publish immediately (READY_FOR_VALIDATION) instead of keeping a draft.
themeIdNoRecommended: one 'theme' term id.
calendarYes
imageIdsNoIds from upload_image; the first becomes the main image.
priceInfoNo
locationIdYesId of an existing place, from search_places.
bookingInfoNo
descriptionNoPlain text; line breaks allowed.
eventTypeIdYesExactly one 'eventtype' term id.
organizerIdNoRecommended. Managers of this organizer can then also edit the event on uitdatabank.be.
contactPointNo
mainLanguageNoLanguage code: nl, fr, de or en.nl
availableFromNoOnly with publish: true. Show the event on calendars from then on.
typicalAgeRangeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds the important consequence of that non-idempotency (duplicate risk on timeout, verify via search_events) and states the default state ('created as a DRAFT unless publish is true') plus the return value. It does not cover permissions, validation-failure behavior, or rate limits, which keeps it short of a 5.

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?

Four sentences, each doing distinct work: purpose, prerequisites, default state/return, and failure handling. The preconditions are front-loaded before the caveats, and there is no filler or restatement of the tool 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 16-parameter mutation tool with nested oneOf calendar structures and no output schema, the description covers the highest-risk gaps: multi-step prerequisites, draft-vs-published default, returned id, and duplicate-call recovery. What remains uncovered (calendar variants, language fields, validation errors) is documented in the schema's own property descriptions, so 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?

Schema coverage is only 63% across 16 parameters, but the description supplies the cross-tool provenance for the key ids: locationId comes from search_places, eventTypeId from list_event_types, and organizerId should be 'reused' from search_organizers. It also clarifies the publish toggle's default meaning (draft). It does not touch the 4-way calendar shapes or mainLanguage, leaving nested-structure meaning entirely to the schema.

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?

The description opens with a specific verb and resource ('Create a new event in UiTdatabank') and immediately distinguishes this from read-oriented siblings by naming search_places, list_event_types, search_organizers and search_events as lookup tools used beforehand. An agent can tell without opening any schema that this is the write-side entry point of the event workflow.

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?

It gives explicit preconditions ('find the location with search_places and the event type with list_event_types, and reuse an organizer from search_organizers') and an explicit recovery path for timeouts ('check with search_events whether the event exists before calling again'). That is when-to-use, what-to-do-first, and what-to-do-on-failure, all named with concrete alternatives.

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