Skip to main content
Glama

Save races to the list

save_race
Idempotent

Put races from search_races on the user's Goal Race list, the same list the hearts on the site write to, with status 'wishlist'. Pass each race's url exactly as search_races returned it; up to 20 at once. A race already on the list (same name and day) comes back in already_on_list, not duplicated. A race search_races does not list goes in with add_custom_race. Requires signing in.

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": {
      "race_urls": "<race_urls>"
    },
    "name": "save_race"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoWave or distance the user picked, e.g. 'Sprint 5K'. Omit when they did not say.
race_urlsYesRace page urls from search_races.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare mutation, idempotency, and non-destructiveness, and the description explains the mechanism behind that idempotency: duplicates matched on same name and day are returned in already_on_list rather than re-added. It also discloses the batch limit of 20 and the auth requirement — context the annotations cannot express.

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 dense sentences, front-loaded with the action and target list, then the input constraint, then dedupe behavior, then the escape hatch and auth. No filler or redundancy.

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 two-parameter write tool with no output schema, the description covers scope, input provenance, batch cap, duplicate handling with the returned field name, sibling routing, and auth. An agent could call this correctly without opening anything else.

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 100%, so the baseline is 3; the description earns an extra point by specifying that race_urls must be passed exactly as search_races returned them, which is a real constraint not in the schema. The format parameter is left entirely to the schema, keeping it short of a 5.

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?

"Put races from search_races on the user's Goal Race list ... with status 'wishlist'" is a specific verb plus a specific resource, and it names the sibling whose output feeds it. It even disambiguates against add_custom_race by stating that races search_races does not list go there instead.

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?

Explicit when-to-use rules are given: URL must come from search_races verbatim, up to 20 per call, and unroutable races must use add_custom_race. Prerequisite (signing in) is stated, and the cap is named.

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