Skip to main content
Glama

Update daily log entry

update_daily_log_entry
Idempotent

Partially update a daily log entry line item — only provided fields change.

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": {
      "entry_id": "<entry_id>"
    },
    "name": "update_daily_log_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
agent_idNo
entry_idYes
quantityNo
cost_codeNo
entry_typeNo
descriptionNo
calculated_costNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond that by clarifying partial-update semantics ('only provided fields change'), which matters for a PATCH-style call. It still omits what happens to omitted fields vs. explicit nulls, whether calculated_cost is recomputed server-side, and any permission requirements.

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

Conciseness4/5

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

One front-loaded sentence with no filler, and the partial-update constraint is placed where it will be read first. It is efficient rather than padded, though for an 8-parameter mutation it is arguably terse to the point of under-specification.

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

Completeness2/5

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

For a mutation tool with 8 undocumented parameters, no output schema and no annotations about edit semantics, the definition leaves the agent without enough to call it confidently — notably which fields are safe to send and whether derived fields like calculated_cost should be included. The instruction to use full 1-5 range applies; this is below minimum viability for its complexity.

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 8 parameters, so the description carries the full burden and it adds almost nothing: it does not explain that entry_id is required, what entry_type's enum values mean, how quantity/unit interact, or whether calculated_cost is derived or settable. A single generic partial-update statement does not compensate for the coverage gap.

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 description names a specific verb+resource: 'partially update a daily log entry line item,' which is distinguishable from the sibling update_daily_log (parent log) and from create/delete_daily_log_entry. It does not explicitly call out those siblings, but the resource granularity ('line item') does the differentiating work.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing tells the agent when to prefer this over update_daily_log, create_daily_log_entry, or delete_daily_log_entry. The phrase 'only provided fields change' implies partial-update semantics but is not framed as a selection rule or as a prerequisite (e.g., permissions, entry must exist).

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