Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

update_goal

Modify an existing health goal's target, strategy, active status, macros, or timeline by goal ID so progress tracking matches current objectives.

Instructions

Update an existing goal's settings

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": {
      "goal_id": "<goal_id>"
    },
    "name": "update_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNo
goal_idYesID of the goal to update
strategyNo
fat_per_lbNoFat grams per lb of body weight
target_dateNo
daily_fat_gramsNo
daily_carbs_gramsNo
protein_per_lb_lbmNoProtein grams per lb of lean body mass
daily_protein_gramsNo
daily_calorie_targetNo
flexible_weekends_enabledNo
target_body_fat_percentageNo
flexible_weekends_percentageNoExtra calories on weekends %
weekly_weight_loss_percentageNoTarget weekly weight loss %

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely fails it. It never states whether omitted fields are preserved (partial patch) or reset, whether strategy changes invalidate computed targets, whether the operation requires ownership/auth, or whether changes are reversible — all critical for a 14-field mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single clean, front-loaded sentence with no filler, which is structurally sound. But the brevity is under-specification rather than economy — the sentence is too thin for a tool with this parameter surface.

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

Completeness1/5

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

Given 14 parameters, 36% schema coverage, no annotations, and no output schema, the description is far too thin to let an agent call this correctly. It omits patch-vs-replace semantics, mutual exclusivity between absolute and per-lb parameters, and any note on what the update returns.

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 36%, so the description needs to compensate and adds nothing. The most consequential parameter, the "strategy" enum (cut/maintain/bulk), has no explanation in either the schema or the description, and the relationship between derived fields (protein_per_lb_lbm vs daily_protein_grams, weekly_weight_loss_percentage vs target_date) is never clarified.

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

Purpose3/5

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

"Update an existing goal's settings" names a verb (update) and resource (goal), which separates it from create_goal/delete_goal/get_goal by implication. However, "settings" is vague — the schema exposes 14 distinct fields spanning macro targets, body-composition targets, strategy enum, and scheduling flags, none of which the description characterizes.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites (e.g., that the goal must already exist), and no mention of how this differs from calculate_goal or create_goal. The word "existing" hints that creation belongs elsewhere, but this is inference rather than stated guidance.

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

Deploy Server

Other Tools