Skip to main content
Glama

Den | AEC Expert Knowledge Curation System

Record User Feedback (사용자 반응 기록)

feedback

호출 에이전트가 직전 Den 응답을 활용한 뒤 사용자가 보인 반응(수정 지시/불만/채택/무시)을 대화 종료 전 요약 수준으로 기록하는 릴레이 도구입니다. 사용자 입력 폼은 아닙니다. query_id가 있으면 그대로, 없으면 직전 Den 도구에 전달한 question_text만 전달합니다. satisfied를 기록하고, 불만족이면 issue_type을 지정하며, comment는 반응 요지만 200자 이내로 요약합니다. 채택·긍정은 satisfied=true로, 수정 지시·불만·명시적 무시는 satisfied=false와 가장 가까운 issue_type으로 매핑합니다. 반응이 전혀 없으면 만족 여부를 추측하지 않습니다. ★satisfied=true(채택·긍정)이면 comment에 Den이 없었으면 무엇을 하려 했는지 한 마디를 함께 적습니다("다른 수치를 쓰려 했다", "몰라서 정하지 못하고 있었다", "다른 출처로 갔어야 했다" 가운데 사용자가 실제로 말한 내용). 'Den을 썼다'와 'Den 때문에 달라졌다'는 이 한 마디로만 구분되므로 중요합니다. ★★사용자가 말하지 않았으면 비워 둡니다. 추측해 지어내지 않습니다. 지어낸 내용은 빈칸보다 나쁩니다. ★★★그렇다고 comment를 통째로 생략하지는 않습니다. satisfied=true이면 무엇을 채택했는지 한 줄은 항상 적습니다(어느 수치·조문·판단을 그대로 썼는지). 비워 두는 대상은 반사실 한 마디로 한정됩니다. 요지까지 비면 그 만족 기록은 쓸 수 없습니다. → 이 도구는 질의 도구가 아닙니다. 답은 k_snippets·answer_why로 찾습니다. 사용자 대화 원문은 전송하지 않습니다. 불만족과 사유는 다음 날 보완 후보로 접수됩니다.

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": {
      "satisfied": "<satisfied>"
    },
    "name": "feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoSummary of the user's reaction; never send conversation text. When satisfied=true this is expected, not optional: state in one line what the user actually did with the answer (which value / clause / decision they adopted). Also add what the user would have done without Den (used a different value, was stuck undecided, or would have gone to another source), but ONLY if the user actually said it; never infer or invent that part. Omitting that one clause is correct when unsaid; omitting the whole comment is not.
query_idNoThe 16-character query_id returned in the previous response meta.
satisfiedYesWhether the previous Den response was satisfactory.
issue_typeNoRequired when dissatisfied: 오답, 무관, 기권과다, 얕음, or 기타.
question_textNoThe exact prior Den tool query, used only when query_id is unavailable.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / comment / description
      Previous value: -"Summary of the user's reaction; never send conversation text. When satisfied=true this is expected, not optional: state in one line what the user actually did with the answer (which value / clause / decision they adopted). Also add what the user would have done without den (used a different value / was stuck undecided / would have gone to another source) — but ONLY if the user actually said it; never infer or invent that part. Omitting that one clause is correct when unsaid; omitting the whole comment is not."New value: +"Summary of the user's reaction; never send conversation text. When satisfied=true this is expected, not optional: state in one line what the user actually did with the answer (which value / clause / decision they adopted). Also add what the user would have done without Den (used a different value, was stuck undecided, or would have gone to another source), but ONLY if the user actually said it; never infer or invent that part. Omitting that one clause is correct when unsaid; omitting the whole comment is not."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, destructiveHint=false) only say this is a non-destructive write. The description adds real context beyond them: conversation text is never transmitted, dissatisfaction is logged as an improvement candidate for the next day, and this is a relay tool tied to the previous response's query_id. It does not address duplicate-submission or retry behavior, which is notable given idempotentHint=false and matters for a recording 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?

The description is front-loaded and the mapping rules are clear, but the comment rules are spread across three ★-prefixed blocks with strong emphasis markers and repeat the advice already in the comment field description. The ★★★ warning about not omitting the whole comment takes several sentences to convey one caveat.

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?

Because an output schema exists, return values need not be explained. The annotations cover the safety profile, and the description covers data handling, fallback logic, and downstream use of the feedback. The one gap is idempotency: it does not say what happens if the same reaction is recorded twice.

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?

With 100% schema coverage, the schema already documents every parameter, so the baseline is 3. The description still adds decision logic that the schema does not carry as procedure: comment must be a summary under 200 characters, issue_type is required only when dissatisfied, and query_id takes precedence over question_text. The edit rules for comment are also much more detailed than the schema field.

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 states a specific verb and object upfront: it records the user's reaction (수정 지시/불만/채택/무시) after the previous Den response. It also clearly defines the scope with two negations: it is not a user input form and not a query tool, and it points queries to k_snippets·answer_why, so the agent can tell it apart from all siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit decision rules: 채택·긍정 maps to satisfied=true, while 수정 지시·불만·명시적 무시 maps to satisfied=false plus the nearest issue_type. It also instructs that when no reaction exists, the agent must not guess satisfaction. It even resolves the precedence between parameters: use query_id if present, else question_text.

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.