Skip to main content
Glama

Save reply to doc

save_reply_to_doc

Keep the answer a task's latest finished reply ends with as a doc of that task, word for word, with its sources and evidence, so another task can read it (doc_ids) or you can pin, share or export it. The opening line and progress notes it wrote between steps are left out.

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": {
      "task_id": "<task_id>",
      "title": "<title>"
    },
    "name": "save_reply_to_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, closed-world operation; the description adds real substance on top: the content is captured word for word including sources and evidence, while the opening line and inter-step progress notes are excluded, and the resulting doc is referenceable by doc_ids. It does not disclose whether an existing doc is overwritten or a new one is always created, which is the main remaining behavioral question.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and followed by the practical payoff; nothing is redundant. The nested relative clause about 'the answer a task's latest finished reply ends with' costs some readability, but the exclusion note at the end is compact and earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with no output schema, the description covers what is saved, what is omitted, and why it matters. It falls short on the required title parameter and on the question of whether repeated calls create additional docs, which are the gaps an agent would actually hit when invoking it.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters. The description indirectly explains that task_id selects the task whose latest finished reply is saved, but the required 'title' parameter is never mentioned at all, nor are any constraints such as its 500-character limit or whether duplicates are allowed. With no schema documentation, the description needed to carry more of this burden.

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 description states a specific action and resource: it takes the final answer of a task's last finished reply and persists it as a doc belonging to that task. It clearly differs from siblings like create_doc or update_doc, though the phrasing ('Keep the answer a task's latest finished reply ends with as a doc') is convoluted enough to require a second read.

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?

It gives a reason to use it — so another task can read the result via doc_ids, or you can pin, share, or export it — which implies the usage context. However, it never explicitly contrasts itself with create_doc or reply, nor states when this is the wrong choice, leaving the agent to infer the boundary.

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