Skip to main content
Glama

update_event

Destructive

Edit an existing event's fields (name, date, last day, start time, whether they have a confirmed slot, description, location, URLs, logistics notes) — every field optional, only what you pass changes. Use when the race date shifts, the venue changes, or details firm up. Moving date moves a multi-day event's endDate with it, its length kept. Weather re-resolves automatically when date or location changes. For the coach-notes section use set_event_notes; for prep content changes don't touch this.

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": {
      "id": "<id>"
    },
    "name": "update_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
cdaNothe rider's CdA for this race, m² (e.g. from estimate_cda, after the athlete agrees); 0 clears to the 0.32 default
dateNo
nameNo
notesNoathlete logistics; empty string clears
sportNowhat the event is: the plan builds toward it and get_event_course reads only a bike event in watts
mapUrlNo
resultNowhat came of it, their words; '' clears
targetNotheir aim; '' clears
endDateNothe LAST day of a multi-day event, inclusive; '' makes it a one-day event
purposeNowhy they race it: result (a win, a finish, a time — say which in target), training (it replaces a session, no taper), fun (purely for the joy); '' clears. Ask them once if unknown
eventUrlNo
priorityNoA = season goal, B/C = on the way, '' clears
startTimeNolocal start 'HH:MM'; '' clears
registeredNotrue = a confirmed slot (a lottery entry or a waitlist is not one), false = not (yet); only on their word
descriptionNo
locationTextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / endDate
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +      "type": "string"
      +    },
      +    {
      +      "const": "",
      +      "type": "string"
      +    }
      +  ],
      +  "description": "the LAST day of a multi-day event, inclusive; '' makes it a one-day event"
      +}
    • addedInput schema / properties / registered
      Added value: +{
      +  "description": "true = a confirmed slot (a lottery entry or a waitlist is not one), false = not (yet); only on their word",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / sport / description
      Previous value: -"ride or run — what the Course tab and get_event_course read the route for"New value: +"what the event is: the plan builds toward it and get_event_course reads only a bike event in watts"
    • changedInput schema / properties / sport / enum
      Previous value: -[
      -  "ride",
      -  "run"
      -]New value: +[
      +  "ride",
      +  "gravel",
      +  "mtb",
      +  "cx",
      +  "tt",
      +  "run",
      +  "trail",
      +  "triathlon",
      +  "duathlon",
      +  "swim",
      +  "hyrox",
      +  "ski",
      +  "other"
      +]
  3. Changed3 schema fields changed
    • changedInput schema / properties / purpose / description
      Previous value: -"why they race it: place (a position), time (a time or watts — say it in target), finish (to finish and enjoy it), training (a hard session, no taper); '' clears. Ask them once if unknown"New value: +"why they race it: result (a win, a finish, a time — say which in target), training (it replaces a session, no taper), fun (purely for the joy); '' clears. Ask them once if unknown"
    • changedInput schema / properties / purpose / enum
      Previous value: -[
      -  "place",
      -  "time",
      -  "finish",
      -  "training",
      -  ""
      -]New value: +[
      +  "result",
      +  "training",
      +  "fun",
      +  ""
      +]
    • addedInput schema / properties / result
      Added value: +{
      +  "description": "what came of it, their words; '' clears",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / purpose
      Added value: +{
      +  "description": "why they race it: place (a position), time (a time or watts — say it in target), finish (to finish and enjoy it), training (a hard session, no taper); '' clears. Ask them once if unknown",
      +  "enum": [
      +    "place",
      +    "time",
      +    "finish",
      +    "training",
      +    ""
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / sport
      Added value: +{
      +  "description": "ride or run — what the Course tab and get_event_course read the route for",
      +  "enum": [
      +    "ride",
      +    "run"
      +  ],
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / cda
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 0.6,
      +      "minimum": 0.15,
      +      "type": "number"
      +    },
      +    {
      +      "const": 0,
      +      "type": "number"
      +    }
      +  ],
      +  "description": "the rider's CdA for this race, m² (e.g. from estimate_cda, after the athlete agrees); 0 clears to the 0.32 default"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / startTime
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "local start time HH:MM",
      +      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +      "type": "string"
      +    },
      +    {
      +      "const": "",
      +      "type": "string"
      +    }
      +  ],
      +  "description": "local start 'HH:MM'; '' clears"
      +}
  8. Changed2 schema fields changed
    • addedInput schema / properties / priority
      Added value: +{
      +  "description": "A = season goal, B/C = on the way, '' clears",
      +  "enum": [
      +    "A",
      +    "B",
      +    "C",
      +    ""
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / target
      Added value: +{
      +  "description": "their aim; '' clears",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  9. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only flag it as a non-readonly destructive write; the description adds the crucial mitigating semantics that every field is optional and 'only what you pass changes', plus side effects an agent could not guess: endDate cascading with date changes (length preserved) and automatic weather re-resolution on date/location change. It stops short of stating response format or any validation/failure behavior, so not 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.

Conciseness4/5

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

Front-loaded with purpose and the 'only what you pass changes' guarantee before the use cases and side effects, and the closing sentence is clean routing. The long parenthetical field list is dense and partly redundant with the schema's own properties, which is the only waste.

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?

For a 17-parameter mutation tool with no output schema, the definition covers the essentials: optionality, partial-update safety, the non-obvious date/endDate cascade, automatic recomputation, and explicit boundaries against sibling tools. Given annotations already carry the destructive/write signal, nothing an agent needs to invoke it correctly is missing.

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 59%, and the description only enumerates a subset of fields by name (name, date, last day, start time, confirmed slot, description, location, URLs, logistics notes), leaving cda, sport, purpose, priority, result and target to the schema — several of which do have schema descriptions. It adds real semantics for the date/endDate interaction and weather, but does not compensate for the uncovered parameter space across 17 params.

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?

Opens with a specific verb+resource ('Edit an existing event's fields') and enumerates the editable surface, then explicitly separates itself from set_event_notes and prep-content editing. An agent can tell this apart from create_event, delete_event and set_event_notes without opening any schema.

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 concrete triggering conditions ('when the race date shifts, the venue changes, or details firm up'), names a positive alternative (set_event_notes for coach-notes) and an explicit exclusion ('for prep content changes don't touch this'). Both when-to-use and when-not-to-use are stated.

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