Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_cleanup_log_run

Permanently empties specified log files by ID and reports any IDs that are no longer eligible in the failed list.

Instructions

Empty the given log files (ids from ecp_cleanup_log_report). Their contents are discarded permanently. Ids that are no longer eligible are reported in 'failed'.

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": {
      "ids": "<ids>",
      "confirm": "<confirm>"
    },
    "name": "ecp_cleanup_log_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
confirmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden and does well: it states that contents are 'discarded permanently' (irreversibility) and that ineligible ids surface in a 'failed' field (partial-failure behavior). It omits permission/auth requirements and the requirement for an explicit confirmation flag.

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?

Three short sentences with zero filler: operation first, destructive consequence second, failure handling third. Everything is front-loaded and earns its place.

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 two-parameter destructive tool with no annotations or output schema, the description covers purpose, irreversibility, id provenance, and partial-failure reporting. The only real gap is the undocumented 'confirm' parameter and any permission preconditions.

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?

Schema coverage is 0%, so the description must compensate. It explains what 'ids' are and where to get them, but never mentions the required 'confirm' boolean, whose const:true constraint is a meaningful safety gate left undocumented.

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?

The description uses a specific verb ('Empty') and resource ('the given log files'), and explicitly ties the ids to their origin tool, ecp_cleanup_log_report, so the agent can distinguish this from the report sibling without opening a schema.

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 states a clear usage path by telling the agent that ids come from ecp_cleanup_log_report, which routes the caller to the reporting tool first. It does not spell out explicit when-not conditions, but the prerequisite chain is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools