Skip to main content
Glama
respanai

Respan MCP Server

Official
by respanai

replace_dataset_log

Overwrite a specific log in a dataset by replacing its input, output, expected_output, and metadata fields with new values, enabling corrections or updates.

Instructions

Replace (full overwrite) a log in a dataset. Updates input, output, expected_output, and/or metadata fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoInput data for the log.
outputNoOutput data for the log.
promptNoPrompt text.
metadataNoMetadata key-value pairs.
unique_idYesThe unique identifier of the log to replace.
completionNoCompletion text.
dataset_idYesThe unique identifier of the dataset.
expected_outputNoExpected output for evaluation.
Behavior3/5

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

Without annotations, the description carries the transparency burden. It does disclose destructive full-overwrite behavior and lists affected fields, but it omits prompt and completion from that list even though they are in the schema, and it does not explain irreversibility, failure behavior, or whether unspecified fields are cleared.

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?

Two short sentences, front-loaded with the core action and immediately followed by the affected fields. No filler or redundant restating of the schema.

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 destructive mutation tool with 8 parameters and no output schema or annotations, this description is too thin. It does not mention return values, errors, required existence of the dataset/log, or what happens when optional fields are omitted, making it incomplete for reliable invocation.

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 description coverage is 100%, so the schema already documents every parameter. The description adds the full-overwrite nuance and names some updatable fields, but it does not clarify how optional parameters interact or whether absence means 'clear the field.'

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 and resource: 'Replace (full overwrite) a log in a dataset.' It clearly identifies the action and scope, and the full-overwrite qualifier distinguishes it from simple update or append operations.

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

Usage Guidelines3/5

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

The phrase 'full overwrite' implies the tool is for replacing existing logs rather than partially updating or creating new ones, but there is no explicit guidance about when to use this versus sibling tools like update_dataset, import_dataset_logs, or remove_dataset_logs.

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