Skip to main content
Glama

show_week_macros

Read-onlyIdempotent

Visual calories and macros versus targets for 7d, 30d, 90d, or 1y. Returns an interactive chart plus short summary.

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

Input Schema

NameRequiredDescriptionDefault
rangeNoTime window; default 7d.

Output Schema

NameRequiredDescriptionDefault
kindYesWidget discriminant identifying the payload shape.
generatedAtNoISO timestamp the snapshot was built.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / range / description
      Previous value: -"Time window. One of 7d, 30d, 90d, 1y. Default 7d."New value: +"Time window; default 7d."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral information beyond that: the output is an interactive chart plus a short summary, which tells the agent this returns a visual artifact rather than raw tabular data. It stops short of saying how missing-data days or absent targets are handled.

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, front-loaded with what is shown and compared, followed by what is returned. Every clause carries information; nothing is redundant padding.

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?

For a one-optional-param read tool with an output schema and full annotation coverage, the description supplies the essentials: the metric set, the comparison baseline, the valid windows, and the return shape. The only notable omission is where "targets" come from and whether the agent needs a goal configured first.

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 100% and the single parameter is an enum with its own description including the 7d default, so the schema carries the meaning. The description restates the four allowed windows but adds no interpretation of what each window is best for (e.g., trend vs. recent snapshot). Baseline 3 is appropriate.

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?

"Visual calories and macros versus targets" names the resource (calories/macros) and the comparison being made (against targets), and the range list clarifies the scope. It is clearly a charting tool, though it does not name any sibling (e.g., get_nutrient_summary or get_nutrient_history) to distinguish itself from non-visual nutrition tools, and the name's "week" framing is only partly reconciled by the explicit range list.

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?

Usage is only implied: the enum of windows plus "versus targets" suggests a trend/goal-adherence view, and the default of 7d tells the agent it can be called with no arguments. There is no explicit when-to-use, when-not-to-use, or routing to alternative nutrition tools such as get_nutrient_summary or show_meal_diary.

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.