Skip to main content
Glama

Set what the user is chasing

set_focus
DestructiveIdempotent

Update the user's training focus priorities (0-100 each: endurance = long runs, speed = short fast running, muscle = building muscle, fat_loss = losing fat) and/or their written goal and target date. Only given fields change. Confirm with the user first.

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_focus"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNo
muscleNo
fat_lossNo
enduranceNo
goal_dateNo
goal_statementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds genuinely useful behavior beyond them by stating that only supplied fields are modified and that user confirmation is required before applying. It stops short of explaining what is destroyed (e.g., whether an existing goal_statement is overwritten or cleared), which is the key open question for a destructive tool.

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?

Roughly three short sentences, front-loaded with the mutation scope, followed by the partial-update rule and the confirmation requirement. No filler, no restatement of the title.

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 mutation with no output schema, the definition covers field meanings, defaults, and the confirmation rule. The notable gaps are whether the four priorities are relative weights that should sum to 100 (or are normalized server-side) and what happens to an existing goal when goal_date or goal_statement is passed as null.

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 description coverage is 0%, so the description carries the full burden and does well: it gives the 0-100 range and concrete semantics for all four priority fields (endurance = long runs, speed = short fast running, muscle = building muscle, fat_loss = losing fat). goal_date and goal_statement get only a nominal mention ('written goal and target date'), so format and null-clearing behavior are left to the schema pattern and anyOf.

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?

States a specific verb and resource ('Update the user's training focus priorities ... and/or their written goal and target date') and then defines each priority dimension, so the agent knows exactly what domain this tool mutates. It is clearly distinct from sibling setters like set_nutrition_goals without needing to name them.

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 workflow instruction 'Confirm with the user first' is a real usage rule, and 'Only given fields change' tells the agent this is a partial update. However, there is no guidance on when not to use it, no named alternative for related updates (e.g., nutrition or recovery goals), and no condition for choosing between this and sibling setters.

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