Skip to main content
Glama

get_client_diet_logs_range

Read-only

Meals a client logged between two dates (inclusive) — use for weekly adherence reviews.

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": {
      "clientId": "<clientId>",
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "get_client_diet_logs_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYes
clientIdYesClient's User _id (from list_clients)
startDateYesDate as YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already declares this is a safe read. The description adds that date bounds are inclusive, which is genuine behavioral detail, but says nothing about result volume, ordering, or pagination for a range query that could span many rows.

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 sentence, front-loaded with the resource and scope, then the use case. No filler to trim.

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

Completeness3/5

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

A simple read tool with a fully specified schema; the only notable gap is what a 'meal' record contains (foods, macros) and whether large ranges are truncated, which matters for the adherence-review use case it advertises. No output schema exists to cover this.

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 67% and the schema explains clientId (from list_clients) and the YYYY-MM-DD format. The description's contribution is the inclusivity of the range, which is useful, but it says nothing about endDate semantics or maximum range length. Baseline 3 given the mixed coverage.

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 concrete verb and resource with scope: 'Meals a client logged between two dates (inclusive)'. The date-range scope implicitly separates it from get_client_diet_logs, but no sibling is named explicitly.

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?

'use for weekly adherence reviews' gives one intended scenario, but there are no exclusions or explicit alternatives (e.g., use get_client_diet_logs for a single day, get_client_workout_logs_range for training). Usage is implied rather than specified.

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.