Skip to main content
Glama
respanai

Respan MCP Server

Official
by respanai

remove_dataset_logs

Remove logs from a dataset by filter criteria, or wipe all logs with a flag. Delete specific entries or clear the dataset to manage log retention.

Instructions

Remove one or more logs from a dataset by filter. To delete a single log, pass filter { unique_id: { operator: "eq", value: "" } }. Pass is_deleting_all_logs=true to wipe the dataset contents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoFilters keyed by field name. Example: { "status_code": { "operator": "eq", "value": 500 } }
dataset_idYesThe unique identifier of the dataset.
is_deleting_all_logsNoSet to true to remove every log in the dataset.
Behavior3/5

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

There are no annotations, so the description carries the full burden. It explicitly states that logs are removed and 'wipe' for all, but does not disclose whether the operation is permanent, requires permissions, or has side effects on related data. This lack of caution or detail reduces transparency.

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?

The description is concise, consisting of two sentences, and efficiently packs the purpose, usage examples, and special cases without any fluff. It is well-structured and easy to parse.

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?

Given the absence of an output schema and annotations, the description provides sufficient context about the operation, including how to target specific logs or all logs. It could mention irreversibility or error conditions, but for a delete tool, the coverage is adequate.

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

Parameters4/5

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

The schema already describes all parameters with 100% coverage. The description adds value by providing a concrete example for the filters structure and clarifying the role of is_deleting_all_logs. This enhances understanding beyond the schema.

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 clearly states the tool's purpose: removing logs from a dataset by filter. It also distinguishes itself from read-only siblings like list_dataset_logs or retrieve_dataset_log by emphasizing deletion and provides specific usage examples for single or all logs.

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 gives concrete usage instructions (filter syntax, is_deleting_all_logs flag) but does not explicitly mention when not to use it or compare to alternative deletion methods. However, the examples are sufficient to understand when to call it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/respanai/respan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server