Skip to main content
Glama

Log Diary Entry

create_diary

Log a diary/journal entry for a baby. Accepts flexible time formats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoOptional tags (max 50 tags, each max 100 chars)
textYesThe diary entry text (max 10,000 chars)
babyIdYesThe baby's UUID
timestampYesWhen the event happened: Date/time — accepts ISO 8601 ("2026-05-07T20:00:00Z"), relative ("2 hours ago", "now"), day+time ("today 3pm", "yesterday 8:30pm"), time-only ("3pm"), or date+time ("2026-05-07 8pm")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
totalResultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / tags / description
      Previous value: -"Optional tags (e.g. ['milestone', 'funny'])"New value: +"Optional tags (max 50 tags, each max 100 chars)"
    • addedInput schema / properties / tags / items / maxLength
      Added value: +100
    • addedInput schema / properties / tags / maxItems
      Added value: +50
    • changedInput schema / properties / text / description
      Previous value: -"The diary entry text"New value: +"The diary entry text (max 10,000 chars)"
    • addedInput schema / properties / text / maxLength
      Added value: +10000
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already define the tool as non-read-only, non-idempotent, and non-destructive, so the description only adds the behavior of accepting flexible time formats. This does not contradict annotations but adds only minimal context. No safety-relevant behaviors such as side effects or error handling are disclosed beyond the schema.

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?

The description is two sentences with no waste: the first sentence states the primary action and target, and the second adds a useful note about timestamp flexibility. It is front-loaded and appropriately sized for the tool's simplicity.

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?

With a complete schema, output schema, and annotations, the description is sufficient for an agent to understand the tool's operation. The only minor gap is the lack of explicit note about the entry being persisted or any prerequisites, but the structured fields cover the essential details. For a simple create tool, this is highly complete.

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%, meaning each parameter (babyId, timestamp, text, tags) has a clear description. The description's mention of flexible time formats merely echoes the timestamp parameter's existing schema description, adding no new semantic meaning. Baseline of 3 is appropriate for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Log") and identifies the resource ("diary/journal entry for a baby"), clearly distinguishing it from sibling tools like create_feed, create_nappy, and create_sleep. The title and description align perfectly to convey the tool's unique purpose.

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?

The description implies when to use the tool (i.e., logging a diary/journal entry) but provides no explicit guidance on when to choose it over alternatives such as create_feed or create_sleep. No exclusions or alternative tools are mentioned, so the usage scenario is inferred rather than stated.

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