Skip to main content
Glama

set_goal

Record an athlete's goal, event date, and constraints to align coaching advice with the correct training phase.

Instructions

Record the athlete's goal so advice follows a training phase (base, build, peak, taper, race week). title e.g. 'Half marathon under 1h45'; event_date YYYY-MM-DD if there is a target event; details for constraints such as available days, hours per week, equipment, injuries. clear=True removes previous goals (combine with a title to replace them). Stored locally only.

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

Input Schema

NameRequiredDescriptionDefault
clearNo
sportNo
titleNo
detailsNo
event_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-readOnly, local, non-destructive write; the description corroborates locality ('Stored locally only') and discloses the otherwise-hidden removal behavior of clear=True, including the replace-vs-remove distinction. It goes beyond the structured fields, though it doesn't say what the tool returns or what happens when called with no arguments.

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 purpose and effect lead, followed by compact per-field guidance with inline formatting and concrete examples. Nothing is repeated or padded; each clause carries information an agent needs.

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?

With an output schema present, return values need not be explained, and the write semantics are adequately covered for a five-parameter, zero-required-parameter tool. The gaps are the undocumented sport parameter and the unstated default behavior when only clear is passed.

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 0%, so the description carries the burden and does it for four of five parameters: title gets an example, event_date gets a format ('YYYY-MM-DD'), details gets content guidance (days, hours, equipment, injuries), and clear gets combination semantics. The fifth parameter, sport, is never mentioned in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb and resource ('Record the athlete's goal') and adds the downstream effect ('so advice follows a training phase'), which tells an agent what this tool is really for. It doesn't explicitly contrast with siblings like add_note or schedule_workout, but 'goal' is distinct enough to be recognizable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is per-field rather than per-tool: it says when to supply event_date ('if there is a target event') and what details should contain, plus how to combine clear with title. There is no statement of when to choose set_goal over alternatives or when the tool should not be used.

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