Skip to main content
Glama
CleanSlate MCP Server

CleanSlate MCP Server

by Juxsta

log_food

Add a food entry with calories and protein to today's log for daily intake tracking and summaries.

Instructions

Add a food entry to today's log with calories and protein

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": {
      "name": "<name>",
      "calories": "<calories>",
      "protein": "<protein>"
    },
    "name": "log_food"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFood name or description (1-200 characters)
proteinYesProtein in grams (0-500, can be decimal)
caloriesYesCalories (0-10000, whole number)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 meaningful scoping behavior (entries land in today's log, not an arbitrary date), but it says nothing about reversibility, duplicate handling, or whether the entry is immediately persisted – gaps that matter for a mutation tool with zero annotation coverage.

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?

A single front-loaded sentence with no filler; the target scope ('today's log') and carried fields appear immediately, and every word earns its place.

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 3-parameter append operation with fully documented schema and no output schema, the description covers the essentials – what is created and where it goes. It falls short only on mutation behavior (reversibility, duplicate handling) that no structured field supplies.

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 description coverage is 100%, with each parameter documented including units and ranges, so the baseline is 3. The description only restates 'calories and protein' and omits the required 'name' parameter entirely, adding no meaning 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 ('Add a food entry to today's log') and names the fields carried. It is distinguishable from the read siblings (get_today_log, get_today_summary) and from delete_food_entry/edit_food_entry by being the creation path, though it never explicitly contrasts itself with edit_food_entry.

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 by the verb 'Add' and the target 'today's log' – an agent can infer this is the write path for new entries, but there is no explicit statement of when to use this versus edit_food_entry (e.g. correcting an existing entry) and no mention of prerequisites.

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