Skip to main content
Glama

Compare two manuscript versions / 改稿前后对比

compare_manuscript_versions
Read-only

Compare two manuscript versions / 改稿前后对比 | USE WHEN: the user wants to know what changed between a before and after revision of the same passage | ALIASES: 改稿对比, 修改前后, 两版差异, compare revisions, diff, 版本对比 | RETURNS: 逐段差异与改进评估

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": {
      "before_text": "<before_text>",
      "after_text": "<after_text>"
    },
    "name": "compare_manuscript_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
after_textYes修改后
before_textYes修改前

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value beyond that with "RETURNS: 逐段差异与改进评估", disclosing that the output is a paragraph-level diff plus an improvement assessment, which is not captured by any annotation or output schema.

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 pipe-delimited USE WHEN / ALIASES / RETURNS layout is front-loaded and scannable, with the core action stated first. The alias list is dense but each entry earns its place by improving trigger matching.

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, read-only analysis tool with full schema coverage and no output schema, the definition covers purpose, trigger, and return content adequately. The only gap is the absence of any note on input size limits or expected text granularity for a diff operation.

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%, with both before_text and after_text documented, so the schema already carries parameter meaning. The description only implies the two-input shape via "before and after revision" and adds no format, length, or ordering detail beyond it, so the baseline 3 applies.

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 definition pairs a specific verb and resource ("Compare two manuscript versions") with a precise scope ("before and after revision of the same passage"), which distinguishes it from siblings like literature_compare or academic_polish. The bilingual title and aliases reinforce the identification without ambiguity.

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 "USE WHEN" clause gives an explicit triggering condition: the user wants to know what changed between a before and after revision of the same passage. The "same passage" constraint implicitly excludes cross-document comparisons, but no alternative tool is ever named and there is no explicit when-not guidance.

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