Skip to main content
Glama

plan_upgrade_preview

Preview a read-only upgrade of a legacy learning path into a new draft, returning old criteria to verify and the current version before publishing with plan_launch.

Instructions

只读转换旧路径为新版草案,返回待核对的旧判据和当前版本。审阅并补首练后,用 plan_launch 发布。

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": {
      "session_id": "<session_id>"
    },
    "name": "plan_upgrade_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does declare the most important trait up front: the operation is read-only, producing a draft and criteria for human verification rather than committing anything. It does not address permissions, whether the returned draft is persisted anywhere, or what happens to the legacy path afterward. There is also mild tension between 'converts into a new draft' and 'read-only', which a reader has to resolve by trusting the '只读' label.

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 short sentences, front-loaded with the core action and end-loaded with the follow-up call to plan_launch; nothing is wasted. The density of untranslated domain jargon slightly hurts first-read comprehension despite the brevity.

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?

No output schema and no annotations exist, so the description must supply both behavior and returns; it does both in compressed form, stating read-only semantics, the two things returned, and the required next step. What is missing is failure behavior (invalid session, no legacy path to convert) and confirmation that the returned draft is not committed.

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 0% and the single parameter (session_id) is never mentioned in the description, so nothing explains what session the preview is scoped to. With only one required string parameter the gap is small, and session_id is self-evident from the sibling set, but the description neither confirms the scope nor warns that additional properties are accepted.

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 opening clause pairs a specific verb with its resource and scope: a read-only conversion of legacy paths into a new-version draft. It also names what comes back (old criteria awaiting verification, current version), so the agent can distinguish it from plan_launch, which publishes. It stops short of 5 because terms like '首练' and '旧判据' are internal jargon that a fresh agent may not map to a concrete artifact.

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?

It gives a clear position in the workflow: use this to preview and reconcile, then call plan_launch to publish after reviewing and filling in the first practice. That is an explicit alternative-plus-condition, which is better than most definitions. It lacks a when-not clause (e.g., what to do if no legacy path exists) and does not say what happens if the preview is abandoned.

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