Skip to main content
Glama

Set participant goal

set_participant_goal
Idempotent

Create a fitness goal for a participant. Optional target_value + unit make it a tracked/progress goal.

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": {
      "participant_id": "<participant_id>",
      "title": "<title>"
    },
    "name": "set_participant_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
titleYes
descriptionNo
target_dateNoISO date.
target_valueNo
participant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds behavioral context by explaining that supplying target_value with unit changes the goal into a tracked/progress type, but it says nothing about permissions, duplicate-goal handling, or what happens on re-invocation given idempotentHint=true.

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?

Two short sentences with the core action front-loaded and the key optional-mode distinction second. No filler, no redundancy, and nothing is buried.

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

Completeness3/5

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

For a six-parameter creation tool with no output schema and sparse schema descriptions, the definition covers the essential create action and the tracked-goal mode. It leaves gaps on validation, duplicate handling, and return values (e.g., whether a goal ID is returned) that an agent would benefit from knowing before calling.

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 only 17% (only target_date is documented), so the description must compensate, and it partially does by explaining the coupling between target_value and unit. The roles of participant_id, title, and description remain undocumented in both places, leaving half the parameters without semantic guidance.

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?

States a specific verb and resource: 'Create a fitness goal for a participant,' which is immediately distinguishable from list/update siblings by naming the create action. It stops short of explicitly differentiating itself from set_goal or update_participant_goal, which share the goal-setting domain.

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?

The clause 'Optional target_value + unit make it a tracked/progress goal' gives real guidance on which form of goal to create, which is useful. However, there is no guidance on when to use this versus update_participant_goal or set_goal, nor any prerequisite or exclusion conditions.

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