Skip to main content
Glama

diana_experience_update

Edit a DIANA experience entry, append evidence, or change its status, with each change committed to git.

Instructions

Edit an experience entry, add evidence, or change its status. Every change is committed to git.

status="verified" is the user's decision: set it only after the user explicitly approved this entry in the conversation, and pass their words verbatim as approval. "disputed" (evidence against it), "obsolete" (no longer applies, e.g. after a DIANA upgrade) and "draft" (back to unverified) need a reason. Entries are never deleted.

Args: id: the entry id. title: new title. type: new type. symptom: replaces the 现象 section. cause: replaces the 原因 section. fix: replaces the 解决 section. verification: replaces the 验证 section. notes: replaces the 备注 section. triggers: replaces the triggers. tags: replaces the tags. manual: replaces the manual references. related: replaces the related ids. add_evidence: evidence to append, e.g. "2026-10-02 作业 ab12cd 改用弧长法后收敛". diana_version: DIANA version it applies to. status: verified, disputed, obsolete or draft. approval: the user's approval in their own words (required for verified). reason: why the status changes (required for disputed, obsolete, draft).

Input Schema

NameRequiredDescriptionDefault
idYes
fixNo
tagsNo
typeNo
causeNo
notesNo
titleNo
manualNo
reasonNo
statusNo
relatedNo
symptomNo
approvalNo
triggersNo
add_evidenceNo
verificationNo
diana_versionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: every change is committed to git, entries are never deleted, approval is required for verified, and a reason is required for disputed/obsolete/draft. What is missing is failure behavior (an unknown id) and whether partial updates validate or leave unspecified fields untouched.

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?

Front-loaded with the action and a git-commit note, then the status rules, then a flat Args list. The Args block partly restates schema property names, but given 0% schema coverage that restatement carries real information rather than padding. Slightly long, but no sentence is empty.

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

Completeness5/5

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

This is a 17-parameter mutation tool with no annotations, so the description has to explain both effects and field semantics, and it does. Return values are covered by the existing output schema, so their absence from the description is not a gap. An agent can call this correctly, including the approval requirement for verified.

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

Parameters5/5

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

Schema description coverage is 0% across 17 parameters, so the description must compensate and it does: every argument is glossed, and crucially the 'replaces the 现象/原因/解决/验证/备注 sections, triggers, tags, manual references, related ids' wording discloses overwrite semantics that the bare schema cannot convey. It also contrasts add_evidence as append-only, with a worked example string, which is exactly the distinction an agent would otherwise get wrong.

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 sentence names specific verbs and a specific resource: 'Edit an experience entry, add evidence, or change its status,' which an agent can map to a concrete operation. It does not, however, distinguish this from siblings such as diana_experience_verify or diana_experience_add, so an agent must infer which of those overlapping paths to take.

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?

Strong conditional guidance on when each status is legitimate: verified only after the user explicitly approved the entry in conversation, with their words passed verbatim; disputed/obsolete/draft each need a reason. It also states entries are never deleted, ruling out a destructive interpretation. The gap is that no sibling tool is named as an alternative, so the boundary against diana_experience_verify is left implicit.

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