Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

get_nutrition_history

Retrieve daily nutrition totals and goal comparisons for a selected date range to track dietary intake over time.

Instructions

Get nutrition history for a date range with daily totals and goal comparison

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

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd date in YYYY-MM-DD format (default: today)
start_dateNoStart date in YYYY-MM-DD format (default: 30 days ago)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/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; it does disclose the output content (daily totals plus goal comparison), which is useful. It says nothing about whether days with no entries are returned, pagination/size limits, auth requirements, or whether it is strictly read-only.

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?

One front-loaded sentence with the resource, the scoping, and the return shape in that order. Every clause earns its place and there is no filler.

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 two-parameter read tool with no required params, no nesting, and full schema coverage, the description covers purpose and output shape adequately. Without an output schema it could say slightly more about the comparison-to-goal field, but nothing essential is missing.

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 both parameters are fully documented with format and defaults in the schema itself, so baseline is 3. The description adds only the notion of a range with daily aggregation and goal comparison, no syntax or boundary details beyond the schema.

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?

States a specific verb and resource ('Get nutrition history') plus the scope ('for a date range') and the return contents ('daily totals and goal comparison'). It implicitly contrasts with 'today'-scoped siblings like get_today_nutrition, but never names an alternative, so it falls short of a 5.

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: 'for a date range' plus schema defaults (today / 30 days ago) suggest this is the historical/aggregate view rather than the single-day or single-log tools. There is no explicit when-to-use, when-not-to-use, or mention of a sibling alternative.

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