Skip to main content
Glama

log_cycle

Log a new period or resume one ended today. Edits: update_cycle(date) when offered; it finds the record itself, no list_cycle needed. Voice without update_cycle: log_cycle can save a known start/end or resume an ended-today period using started_on=today with no ended_on. "Ended today" alone does not supply a start date.

INFER: started_on=today only for a new start or same-day resume; ended_on=omit while active, else infer from a stated end or duration. No future dates.

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": {
      "started_on": "<started_on>"
    },
    "name": "log_cycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
ended_onNoPeriod end date, YYYY-MM-DD. Omit while the period is active.
started_onYesPeriod start date, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ended_on / description
      Previous value: -"Period end date. Format: YYYY-MM-DD. Omit if period is still active."New value: +"Period end date, YYYY-MM-DD. Omit while the period is active."
    • changedInput schema / properties / started_on / description
      Previous value: -"Period start date. Format: YYYY-MM-DD. Required."New value: +"Period start date, YYYY-MM-DD."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare write semantics (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the safety profile is covered. The description adds genuine behavior beyond that: a start date is mandatory even for a same-day resume, "ended today" alone does not supply a start, and future dates are disallowed. It does not address what happens on duplicate or overlapping entries, which for a non-idempotent log tool is a real gap.

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

Conciseness3/5

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

It is short in absolute terms but poorly structured: an unlabeled quoted block, then an "INFER:" header appended as a third thought, with the resume-scenario repeated across sentences. The critical constraint ("No future dates") is buried at the very end rather than front-loaded. Every sentence is roughly relevant, but the ordering and headings work against quick scanning.

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 only two parameters, full schema coverage, an existing output schema, and annotations covering the write profile, the description does enough: it covers when to use it, which sibling supersedes it, how to derive each date, and the future-date constraint. The missing piece is failure/duplicate behavior, which matters for a non-idempotent create.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns above it by supplying inference rules the schema lacks: set started_on=today only for a new start or same-day resume, omit ended_on while active, otherwise derive it from a stated end or duration. That is material meaning beyond "Period start date, YYYY-MM-DD." It falls short of 5 because the inference rules are stated telegraphically rather than tied explicitly to the two named parameters.

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?

The opening states a specific verb and resource plus scope: "Log a new period or resume one ended today." It also explicitly differentiates from siblings (update_cycle, list_cycle), which is rare. It stops short of 5 because the subsequent sentences blur purpose with inference rules, making the core intent harder to extract on a first read.

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?

It routes the agent clearly: use update_cycle(date) for edits, and update_cycle finds the record itself so no list_cycle call is needed. It also gives a fallback path when update_cycle is unavailable. The phrase "Voice without update_cycle" is opaque jargon and there is no explicit exclusion for creating ends on future dates beyond a bare "No future dates" line.

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.