Skip to main content
Glama

save_roadmap_audit

Persists career roadmap audit results as a version-bound second opinion, recording verdicts, issues, and notes without blocking roadmap finalization.

Instructions

保存路线图审计结果(第二意见;绑定当前路线图版本,不阻断定稿)。

何时调用:career-roadmap-auditor 每完成一轮审计都要调用本工具落库。

Args: audit_json: 审计结果的 JSON 字符串

Schema: { "verdict": "PASS_WITH_NOTES", // PASS / PASS_WITH_NOTES / FAIL(必填) "issues": [ // FAIL 必填;PASS_WITH_NOTES 可带建议 {"checklist_id": "start", "problem": "起点档位无打分依据", "fix": "补 rubric 评分"} ], "notes": ["非阻断建议"], // 可选 "summary": "一句话结论" // 可选 }

纪律:FAIL 只用于硬矛盾(编造 JD、无依据跨级、KPI 完全缺失、届别硬冲突、 任务不可打卡);其余进 notes。审计记录按 roadmap_hash 绑定,路线图内容变化后 自动标记过期,但不会阻断保存。

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": {
      "audit_json": "<audit_json>"
    },
    "name": "save_roadmap_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
audit_jsonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose meaningful behavior: records bind to roadmap_hash, auto-expire when roadmap content changes, and saving is never blocking. It omits permissions/identity requirements, idempotency on repeated saves, and how expired records are later surfaced — notable gaps for a persistence tool.

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

Conciseness3/5

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

Front-loaded with purpose and trigger, which is good, but it is long and blends an embedded schema specification with discipline rules. The schema block largely duplicates what belongs in the parameter description, and inline comments add useful but bulky detail.

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?

An output schema exists, so return values needn't be explained here. Against a 1-param, 0%-coverage, annotation-free tool with nested JSON content, the definition is adequate for invocation but leaves behavior like auth, idempotency, and post-expiry handling unstated.

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

Parameters4/5

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

Schema coverage is 0% with a bare string parameter, so the description must compensate, and it does: the full audit JSON structure, required/optional fields, verdict enum values, and per-issue fields (checklist_id/problem/fix) are spelled out. It stops short of encoding, size, or serialization details.

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?

Specific verb+resource: 保存路线图审计结果, with scoping qualifiers (第二意见, 绑定当前路线图版本, 不阻断定稿). An agent can tell it is the audit-persistence path rather than general roadmap saving, though it does not name a sibling for contrast.

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?

Explicit trigger: 'career-roadmap-auditor 每完成一轮审计都要调用本工具落库'. The 纪律 paragraph further constrains usage by defining which problems qualify as FAIL versus notes. No explicit when-not-call or named alternative, so slightly below 5.

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