Skip to main content
Glama

Update event

tp_update_event
Idempotent

Update an existing race/event with new details such as name, date, priority, distance, description, or attached workout legs. Only specified fields change, using the event ID from tp_get_events.

Instructions

Update fields on an existing race/event (name, date, priority, distance, description, attached workout legs). Only the provided fields change. Event ID from tp_get_events; events more than ~2 years from today cannot be resolved for update.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
nameNo
athleteNoTarget athlete name or ID (coach accounts only). Omit to use your own profile.
event_idYes
priorityNo
ctl_targetNo
event_typeNo
descriptionNo
distance_kmNo
workout_idsNoWorkout IDs to attach to the event as its legs, in order (e.g. swim, T1, bike, T2, run). Replaces the existing list.
Behavior4/5

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

Annotations already indicate mutation (readOnly=false) and idempotency. The description adds important semantics like 'Only the provided fields change' (partial update) and a boundary condition for old events. This supplements the annotations without contradiction.

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 description is two sentences, each packed with relevant information: the action and fields, partial-update behavior, and ID source/limitation. No redundant or extraneous wording.

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

Completeness2/5

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

The description is incomplete for a tool with 10 parameters. It omits several updatable fields and doesn't clarify whether its parenthetical list is exhaustive. There is no mention of return values or side effects beyond the partial update, leaving gaps for the agent to guess.

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

Parameters2/5

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

Schema description coverage is only 20%, and the description merely lists some parameter names without explaining formats or constraints. It omits several schema fields (e.g., athlete, event_type, ctl_target) and doesn't clarify the meaning of the listed fields beyond their names, failing to compensate for the low schema coverage.

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 clearly states the action 'Update fields on an existing race/event' and lists the specific fields that can be changed. This distinguishes it from sibling tools like tp_create_event and tp_delete_event.

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?

It provides valuable usage context: 'Event ID from tp_get_events' indicates the prerequisite for obtaining the ID, and the 2-year resolution limit is a useful constraint. However, it doesn't explicitly describe when to use this tool over alternatives, though the update intent is self-evident.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JamsusMaximus/TrainingPeaks-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server