Skip to main content
Glama

Regenerate DeepSeek's answer

deepseek_regenerate

Regenerate a weak DeepSeek answer, keep the old response as an older version, and continue the chat from the new answer.

Instructions

Make DeepSeek answer again, like the site's regenerate button. Use it when an answer was weak and the question was fine. Defaults to the latest answer. The old answer stays on the site as an older version, and the chat continues from the new one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "deepseek_regenerate"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatNoThe chat: id, title, or a unique part of the title.
modelNodeepseek-web (default), deepseek-web-thinking, or deepseek-web-expert.
searchNoTurn web search on for the new answer.
thinkingNoTurn deep thinking on or off for the new answer.
message_idNoWhich DeepSeek answer to redo (see deepseek_read_chat ids). Default: the latest.
conversation_idNoOr the conversation_id returned by deepseek_ask.
include_reasoningNoAlso return the model's thinking text when available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral load, and it does real work: it discloses that the old answer is retained as an older version and that the chat continues from the new answer, plus the default of targeting the latest answer. It does not mention cost, latency, or whether regeneration can fail or be undone.

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, each carrying distinct information: identity, trigger condition, and side-effect model. The behavior is front-loaded after the purpose, with no redundant restatement of the title.

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 7-parameter, zero-required mutation tool with no annotations and no output schema, the description covers purpose, trigger, and the key side effect well. It is slightly thin on what comes back (beyond the include_reasoning hint) and on how to identify the target answer, but nothing critical for correct invocation is missing.

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 100%, so every parameter is already documented, and the description adds only the "defaults to the latest answer" behavior, which the schema repeats for message_id. The chat/message_id/conversation_id selection alternatives and the model/search/thinking overrides get no extra guidance from the description.

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?

"Make DeepSeek answer again, like the site's regenerate button" names a specific verb (regenerate) and resource (a DeepSeek answer), and the site-button analogy pins the semantics precisely. It differentiates implicitly from siblings like deepseek_edit_message by scoping to a case where the question was fine, but it never names an alternative outright.

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?

"Use it when an answer was weak and the question was fine" gives a clear positive trigger and implies the negative case (question flawed → edit instead). The exclusion is inferential rather than stated, so an agent must connect it to deepseek_edit_message on its own.

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