Skip to main content
Glama

replace_mastery_outline

Destructive

Replace a mastery path outline with an approved module set, preserving existing IDs and verifying revision before saving. For authorized writes only.

Instructions

WARNING: Changes stored DeepTutor learning data. Check the target ID and values; call only when the learner explicitly requests this action. Replace the full outline after review; preserves IDs supplied in modules and checks revision

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesSet true when this write is authorized by the current user request
modulesYesComplete modules array in DeepTutor ModuleInput shape
path_idYesMastery path ID
expected_revisionYesRevision read from get_mastery_path

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark this as destructive, and the description adds meaningful context: it changes stored DeepTutor learning data, preserves supplied IDs, and checks revision. This goes beyond the annotation by explaining what the write operation does and what safeguards exist.

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?

The description is compact and front-loads the critical warning before the action. Both sentences earn their place, though the warning could be slightly more concise without losing meaning.

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 destructive write tool, the description covers the key safety and workflow considerations: explicit user authorization, revision checking, and full replacement. With a complete schema and output schema present, nothing essential 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 description coverage is 100%, so the schema already documents each parameter. The description adds a bit of behavioral context around expected_revision and modules, but does not materially enhance parameter understanding beyond the schema.

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 clearly identifies the action as replacing the full mastery outline, a specific verb and resource. It distinguishes this from sibling get/set/list tools by emphasizing the full replacement and revision check.

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 description explicitly states when to call the tool: only when the learner explicitly requests the action, and after review. It does not name alternative tools, but the warning and conditionality provide clear usage context.

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