Skip to main content
Glama

Ration Kitchen Agent Server

log_manifest_intake

Idempotent

Atomically log or update personal plate-up (Eat) for prepared Manifest entries. Never deducts Cargo. Requires active intake and agent-processing consent established in Ration. Pass operationKey plus portions[{entryId, servings? or amount+unit, idempotencyKey, notes?}] (1–50). servings is 0.01–100 recipe servings; amount+unit may be serving, g, or oz when get_meal_plan gramsPerServing is present. Optional notes (≤280) persist only when nutrition-intake-notes is on. During the compatibility window, omission derives a stable operation key from the ordered item keys. Returns stable replay semantics and authoritative day totals. Not medical advice.

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": {
      "portions": "<portions>"
    },
    "name": "log_manifest_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
portionsYes
operationKeyNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
metaNo
toolYes
errorNo
outcomeNo
warningsNo
requestIdNo
retryableNo
operationIdNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, and the description reinforces this with atomicity, replay semantics, and "Never deducts Cargo." It adds genuinely useful conditional behavior, notably that notes persist only when nutrition-intake-notes is on and that omitting operationKey derives a stable key during a compatibility window, but it does not cover failure modes such as what happens with a stale or mismatched idempotencyKey.

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?

Dense but front-loaded: the action, the inversion (never deducts Cargo), prerequisites, then the payload shape, then edge rules. Every sentence carries a distinct rule; nothing is restated from the schema or annotations.

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

Completeness5/5

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

For a nested-payload mutation with full annotations and an output schema, this covers prerequisites, atomicity, idempotency behavior, unit rules, and a scoping disclaimer. An agent has enough to construct a valid call and predict the effect without reading source.

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?

With nested parameter schema description coverage reported at 0%, the description compensates well: it defines the portions envelope (1-50), the servings range 0.01-100, the allowed amount+unit vocabularies (serving, g, oz) and the condition under which amount+unit is legitimate, the notes cap of 280 with its flag gate, and the operationKey derivation rule. entryId and the required per-item idempotencyKey are named but never semantically explained.

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?

Specific verb+resource: "Atomically log or update personal plate-up (Eat) for prepared Manifest entries," which pins down both the mutation type and the object. "Never deducts Cargo" carves out a boundary against the consumption-oriented siblings without naming them, leaving a small gap in explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a real prerequisite ("Requires active intake and agent-processing consent established in Ration") and a scope constraint ("Never deducts Cargo") that tells the agent this is the logging path, not the inventory-deduction path. It stops short of explicitly naming an alternative such as consume_manifest_entries or clear_manifest_intake, so there is no explicit when-not statement.

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.

Resources