Skip to main content
Glama

Create daily log entry

create_daily_log_entry

Add a labor/machine/subcontractor/material line item to a daily log.

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>",
      "entry_type": "<entry_type>",
      "description": "<description>"
    },
    "name": "create_daily_log_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
agent_idNo
quantityNo
cost_codeNo
entry_typeYes
descriptionYes
daily_log_idYes
calculated_costNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation and safety profile is covered. The description adds nothing beyond that: it does not say whether cost totals on the parent daily log are recomputed, whether calculated_cost is derived server-side or accepted from the caller, or what happens on duplicate submissions.

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?

A single front-loaded sentence with zero filler and no repetition of the title. Brevity is appropriate in form but leaves too much unsaid for the parameter count.

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?

An 8-parameter create tool with no output schema and no parameter documentation needs considerably more than one sentence. The agent lacks the link between entry_type and the relevant optional fields (e.g. agent_id for labor, unit/quantity for material) and has no picture of the return value or side effects.

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 fails to do so. It only implicitly maps to entry_type via the listed line-item kinds; daily_log_id, cost_code, quantity, unit, agent_id and calculated_cost are given no meaning or format guidance anywhere.

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 states a specific verb ('Add') and resource ('a labor/machine/subcontractor/material line item to a daily log'), which clearly distinguishes it from create_daily_log and from the update/delete entry siblings. It is clear but does not explicitly name an alternative, keeping it below a 5.

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 guidance on when to use this versus update_daily_log_entry or delete_daily_log_entry, nor any precondition such as the parent daily log needing to exist or be open. The 'add a line item' phrasing implies a create path, but the agent must infer that from the verb alone.

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