Skip to main content
Glama

Log an entry

log_entry

Records one entry on a topic and reports today's total. Convert the value into the topic's unit first. Use occurredAt for something that happened earlier. Call list_topics first if you do not have the topic id.

Input Schema

NameRequiredDescriptionDefault
noteNoFree text. For a task this is its title and is required.
tagsNoShort labels, e.g. ["breakfast"].
valueNoThe amount in the topic's unit (convert first: 2 litres is 2000 for a "ml" topic). Required for sum, measurement, duration and money; optional for count (defaults to 1); omit for checkbox, event and task.
valuesNoExtra numbers or text keyed by name: a topic's declared fields (e.g. protein), a money topic's category and currency, or a task's status, due, assignee and priority.
topicIdYesThe topic to log to, from list_topics.
occurredAtNoWhen it happened, as an ISO 8601 timestamp such as 2026-10-08T07:30:00. Without an offset it is read in the person's timezone. Omit for now.

Output Schema

NameRequiredDescriptionDefault
entryYes
todayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the safety profile (write, non-idempotent, non-destructive, open-world). The description adds real behavioral content beyond that: the value must be pre-converted to the topic's unit, and the call reports today's total. No auth, rate-limit, or failure behavior is disclosed, but the added context is material.

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?

Four short, front-loaded sentences with no filler - the core action leads, followed by the two most error-prone guidance points and the prerequisite. Every sentence 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 six-parameter write tool with a full output schema, the description covers the essential gotchas (unit conversion, backdating, topic id prerequisite). Remaining detail on note/tags/values lives in the schema, so nothing critical is missing, though how to find a topic's unit could be spelled out.

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 the schema already documents value conversion ('2 litres is 2000 for a ml topic'), occurredAt semantics, and the required note field. The description's conversion and occurredAt sentences largely restate schema content, adding workflow framing but little new meaning. Baseline 3 applies.

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 - 'Records one entry on a topic' - and the singular 'one entry' implicitly separates it from the batch sibling log_entries. However, it never names that sibling, so the differentiation must be inferred from the plural tool name rather than stated.

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 concrete operational context: call list_topics first if the topic id is unknown, use occurredAt for backdated entries, and convert values before logging. It stops short of naming alternatives (e.g. log_entries for multiple entries, update_entry for corrections).

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