Skip to main content
Glama

submit_feedback

ส่งความเห็น/รายงานปัญหาของ ผู้ใช้ กลับให้ทีมงาน Thai Legal (ต้องเชื่อมต่อบัญชีแล้ว).

เรียกเมื่อไหร่ (เรียงจากชัดเจนที่สุด → คลุมเครือที่สุด):

  1. ผู้ใช้ขอส่งตรงๆ — "ส่ง feedback" / "แจ้งปัญหา" / "รายงานให้ทีมงาน" ← ต้องไม่พลาด

  2. ผู้ใช้ยืนยันว่ากฎหมาย/เอกสารที่ควรมีอยู่แต่ค้นไม่เจอ · เนื้อหาผิด · ขอความสามารถใหม่

  3. ผู้ใช้บอกว่าผลไม่ตรง และเห็นชอบให้รายงาน — ไม่ใช่แค่บ่นแล้วให้ค้นใหม่

ห้ามเรียกเองเมื่อผู้ใช้เพียงเปลี่ยนคำค้นหรือถามคำถามใหม่ — รายงานที่ไม่ได้มาจากเจตนา ของผู้ใช้ทำให้ข้อมูลเป็นขยะและทำให้ทีมงานไล่ปัญหาที่ไม่มีอยู่

ข้อกำกับ:

  • ส่งเฉพาะสิ่งที่ผู้ใช้พูดจริง ห้ามแต่งขึ้นเอง ห้ามสรุปให้นุ่มลง — ใส่คำของผู้ใช้ใน message ให้ใกล้เคียงที่สุด

  • รายงานเรื่องผลค้น: ส่ง query ที่ใช้ค้นจริงมาด้วย — เป็นสิ่งเดียวที่ทำให้ทีมงาน reproduce ได้ ถ้าไม่มี รายงานนั้นแทบไร้ประโยชน์ · เรื่องโควตา/ราคา/ขอฟีเจอร์ ไม่ต้องใส่ query (ไม่แนบคำค้นเกินจำเป็น — เนื้อหาคำถามของผู้ใช้เป็นข้อมูลอ่อนไหว)

  • ห้ามใส่ข้อมูลที่ระบุตัวบุคคล ชื่อลูกความ เลขคดี หรือข้อเท็จจริงของคดี — เขียนเป็น ประเด็นกฎหมายเท่านั้น (ถ้าผู้ใช้พิมพ์มา ให้เรียบเรียงตัดส่วนที่ระบุตัวตนออกก่อน)

ไม่นับโควตา · บันทึกข้อมูลถึงทีมงาน (ไม่ใช่อ่านอย่างเดียว) · จำกัดความถี่ต่อผู้ใช้ อ่านผล: ok=True = บันทึกแล้ว (มี reference) · ok=False ดู reason ("auth_required"/"rate_limited"/"empty_message"/ "unavailable") ทุกกรณีมี support_email ให้ผู้ใช้ติดต่อตรง · reply = ข้อความบอกผู้ใช้ได้ทันที · duplicate=True = เคยรายงานเรื่องนี้แล้ว

Input Schema

NameRequiredDescriptionDefault
kindYesประเภทปัญหา — "data_gap" (ควรมีแต่หาไม่เจอ) | "wrong_result" (เจอแต่ไม่ตรง/อันดับแย่) | "wrong_content" (เนื้อหาผิด/OCR เพี้ยน) | "stale_text" (ตัวบทล้าสมัย) | "feature_request" | "bug" | "other" (ค่าที่ไม่รู้จักจะถูกเก็บเป็น "other")
queryNoคำค้นที่ให้ผลมีปัญหา — ใส่เฉพาะรายงานเรื่องผลค้น (wrong_result/data_gap/…); ไม่ต้องใส่เมื่อเป็นเรื่องโควตา ราคา หรือขอฟีเจอร์
messageYesเนื้อหารายงานด้วยคำของผู้ใช้ (บังคับ)
expectedNoสิ่งที่ผู้ใช้คาดว่าควรเจอ เช่น "ควรเจอ ป.พ.พ. มาตรา 420"
citationsNoอ้างอิงผลที่มีปัญหา (คัดจาก citation ของผล search_law เช่น law_code)

Output Schema

NameRequiredDescriptionDefault
okNo
noteNo
replyNo
reasonNo
duplicateNo
referenceNo
support_emailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it records data for the team, does not count against quota, has per-user rate limits, and explains ok/reason/support_email/reply/duplicate outcomes. The description also warns against fabricated or softened reports and explains the duplicate flag.

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 front-loaded with purpose and when-to-call rules, then structured into clear constraints and result behavior. It is longer than strictly necessary and repeats some `query` guidance already present in the schema, but the length is largely justified by the privacy and reporting requirements.

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?

Given a five-parameter write tool with an output schema, the description covers the important gaps: auth requirement, reporting constraints, privacy redaction, rate limiting, duplicate detection, and failure reasons. Nothing essential for correct invocation appears missing.

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 100%, so the schema already documents all five parameters. The description still adds meaningful semantics: include `query` only for search-result reports and omit it for quota/pricing/feature requests, and preserve the user's actual words in `message` while removing identifying details.

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?

States a precise verb and resource: send the user's feedback/problem reports back to the Thai Legal team, and adds the prerequisite that the account must be connected. This is clearly distinct from the sibling search/research tools.

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?

Gives an explicit ranked list of when to call, including direct user requests and confirmed reports of missing/wrong content. It also states a clear when-not rule: do not call merely because the user changes search terms or asks a new question.

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.

Resources