Skip to main content
Glama
io.github.rwestergren/cronometer-api-mcp

io.github.rwestergren/cronometer-api-mcp

by rwestergren

get_macro_targets

Read-onlyIdempotent

Retrieve current macro targets, including weekly schedules and saved templates, to review protein, carb, and fat goals, sodium ranges, and macro splits for nutrition planning.

Instructions

Get current macro targets including weekly schedule and templates.

Returns fixed-gram targets, weight goal, sodium range, the macro split (percent of energy for protein, carbs and fat), the weekly macro schedule (which template applies to each day) and all saved macro target templates with their values. The split describes saved ratios, which are inactive in fixed-target or keto mode; shares are null when the ratio total is unknown or zero.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint. Beyond that, the description discloses real semantics: the macro split reflects saved ratios that are inactive in fixed-target or keto mode, and share percentages are null when the ratio total is unknown or zero. That nullability/caveat context is not derivable from the annotations.

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

Conciseness4/5

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

Front-loaded with the purpose, then a scannable enumeration of contents. The final sentence about inactive ratios and null shares earns its place, though the long field list is somewhat verbose given an output schema already exists.

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?

An output schema exists, so the description needn't restate return fields, yet it does so at length — redundant but harmless. It is complete for a no-arg read tool, with the only real gap being the absence of explicit guidance on when to prefer it over its set_* siblings.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. No extraneous parameter talk is present.

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?

Opens with a specific verb+resource ('Get current macro targets') and immediately enumerates what the target object contains: fixed-gram targets, weight goal, sodium range, macro split, weekly schedule, and saved templates. The read-only counterpart to set_macro_targets / set_macro_split is unambiguous from the verb alone.

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?

No explicit when-to-use or when-not-to-use statement, and no sibling is named. Usage is only implied: an agent should call this to read current targets rather than mutate them, which is inferable from 'Get current' versus the set_* siblings but never stated.

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