Skip to main content
Glama

Delete Daily Log

delete_daily_log
Destructive

Use this when working with RetailHardHat field_operations records in the connected organization. Delete a daily log and dependent media records. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "dailyLogId": "<dailyLogId>"
    },
    "name": "delete_daily_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
dailyLogIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes well beyond that by disclosing the cascade to dependent media records and the two-step approval gate before any change occurs. It also notes that MCP approval requirements are administrator-configurable while business workflow approvals always apply, which materially changes what the agent should tell a user. No contradiction with the annotations.

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?

The actual action and cascade are buried in sentence two, behind a boilerplate opener about "RetailHardHat field_operations records," and the trailing sentence about configurable approval requirements is partly redundant with the execute_approved_action explanation. Four sentences for a one-parameter delete is longer than needed, though nothing is actively confusing.

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 destructive, single-parameter mutation, the description covers the safety model and destructive scope, and an output schema exists so return values need not be explained. The gap is the missing guidance on where dailyLogId comes from and what happens to the approval request if it is rejected or expires.

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?

The schema has 0% description coverage on dailyLogId, so the description carries the burden and never mentions the parameter's expected source, format, or how to obtain a valid ID. It does at least establish that the target is a single existing daily log. With one self-evident required identifier, this is minimally adequate rather than harmful.

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 second sentence gives a precise verb and resource: "Delete a daily log and dependent media records." That also implicitly distinguishes it from delete_daily_log_photo, which removes only a photo rather than the log and its cascading media. The opening sentence about RetailHardHat field_operations records is generic framing that adds little.

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?

The description makes the usage model explicit: nothing is deleted until a human approves the request and execute_approved_action is called, so this tool stages an approval rather than performing a deletion. That is critical routing guidance an agent would otherwise miss. It stops short of naming alternatives (e.g. delete_daily_log_photo or update_daily_log) or stating when not to use it.

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