Skip to main content
Glama
CleanSlate MCP Server

CleanSlate MCP Server

by Juxsta

edit_food_entry

Update an existing food entry's calories, protein, or name by entry ID to correct logged nutrition data.

Instructions

Update calories, protein, or name of an existing entry

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": {
      "entryId": "<entryId>"
    },
    "name": "edit_food_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated food name (optional, 1-200 characters)
entryIdYesUUID of the entry to edit
proteinNoUpdated protein in grams (optional, 0-500)
caloriesNoUpdated calories (optional, 0-10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It conveys that only three fields are mutable and implies a partial update, but says nothing about whether unspecified fields are preserved, whether this requires an authenticated owner of the entry, what error occurs for an unknown entryId, or what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler, and the verb and resource are front-loaded. It is efficient if slightly under-specified, which is a completeness problem rather than verbosity.

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?

For a simple four-parameter mutation with a fully described schema and no output schema, the description covers the essential purpose. It falls short on mutation semantics (partial vs full replace), error behavior for an invalid entryId, and any routing guidance relative to the sibling log, delete, and read tools.

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%, so ranges and optionality for name, protein, calories, and entryId are already documented in the schema. The description adds only marginal meaning by implying the three fields are the editable set and that updates may be partial; it adds no format or constraint detail 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 ('Update') and resource ('an existing entry') and enumerates the mutable fields (calories, protein, name). Combined with the entryId parameter, an agent can distinguish this from log_food (creating) and delete_food_entry (removing) without opening the schema, though 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?

'Existing entry' implies the record must already exist, which is an implicit usage condition. However, there is no guidance on where to obtain entryId, no rule about when to use edit_food_entry versus log_food or delete_food_entry, and no note on what happens if no editable fields are supplied alongside the required entryId.

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