Skip to main content
Glama

Update daily log

update_daily_log
Idempotent

Partially update a daily log's core fields — only provided fields change. Does NOT touch entries or photos (see create_daily_log_entry) and does not recompute total_cost — pass total_cost explicitly if you want to change it.

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": {
      "daily_log_id": "<daily_log_id>"
    },
    "name": "update_daily_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo
agent_idNo
log_dateNo
project_idNo
total_costNo
descriptionNo
daily_log_idYes
project_nameNo
deviation_flagNo

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 idempotent=true, destructive=false, readOnly=false and closed-world, so the safety profile is largely covered. The description still adds real behavioral value annotations cannot express: omitted fields are left untouched, entries/photos are not mutated as a side effect, and total_cost is not derived automatically. It does not discuss permission or status-transition constraints (e.g. acting on a "locked" log), which keeps it below a 5.

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?

Two sentences, front-loaded with the action and scope, then the exclusions. Every clause carries information the agent needs; nothing is repeated from the title or annotations.

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 9-parameter mutation tool with zero schema descriptions and no output schema, the description is helpful but not sufficient: field-level meaning and return/validation behavior are undocumented. It covers the riskiest semantic traps (silent no-op on total_cost, untouched entries) but leaves most parameters opaque.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, so the description carries the full burden and only partially discharges it. It clarifies patch semantics globally and explains total_cost explicitly (must be passed to change, never recomputed), but says nothing about status enum values, log_date format, project_id vs project_name, agent_id, or deviation_flag.

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?

"Partially update a daily log's core fields" names a specific verb (partial update), the exact resource, and the scope boundary of the operation. It also explicitly carves out what is out of scope (entries, photos, cost recomputation), so an agent can separate this from the entry-level tools without inspecting schemas.

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 gives a clear condition for use (changing core fields, partial patch semantics) and a when-not with a pointer to another tool for entries/photos. The only softness is that it points to create_daily_log_entry for entry work while update_daily_log_entry exists as a sibling, leaving the modify-entry path slightly ambiguous.

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