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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNoTime window. One of 7d, 30d, 90d, 1y. Default 7d.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already convey read-only, idempotent, and non-destructive behavior. The description adds that it returns an interactive chart and summary, but provides no other behavioral details such as data freshness or error cases.

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?

The description is two concise sentences, front-loaded with the core purpose and then the return format. No wasted words.

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 simple read-only tool with one parameter, the description is sufficient. It could be slightly more complete by clarifying what 'macros' includes or that targets are user-defined, but those are not essential for invoking the tool correctly.

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 schema already explains the range parameter with its enum and default. The description repeats the enum values in context but does not add significantly deeper meaning beyond what the schema provides.

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?

The description clearly states that the tool visualizes calories and macros versus targets across selectable time ranges, which distinguishes it from sibling tools like show_week_sleep or show_week_steps.

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 description implies usage by describing the visualization, but it does not explicitly state when to use this tool versus other nutrition-related tools (e.g., list_meals or show_meal_diary), nor does it mention any prerequisites or context.

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.