Skip to main content
Glama

儲存機構筆記

upsert_note
Destructive

新增或更新目前登入者對指定機構的筆記(需 Authorization Bearer)。body 最多 2000 字;status 可為 interested/considering/contacted/visited/waitlisted/rejected 或空。

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": {
      "facility_id": "<facility_id>"
    },
    "name": "upsert_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo筆記內文,可空
statusNo狀態:interested、considering、contacted、visited、waitlisted、rejected,或省略/空字串表示未設定
facility_idYes機構編號

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

標註已宣告 destructiveHint=true、readOnlyHint=false,但描述補上了標註未涵蓋的關鍵營運細節:必須提供 Authorization Bearer 驗證,以及 body 最多 2000 字。它沒有說明既有筆記內文是否被覆蓋,而這點與 destructive 標記直接相關。

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

Conciseness5/5

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

兩句話、沒有多餘內容:先寫動作,再寫驗證需求,接著寫兩個欄位限制。沒有任何一句可以刪掉,開頭就交代了最重要的資訊。

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?

對於一個有 3 個參數、沒有輸出 schema 的變更工具來說,描述已涵蓋驗證、大小上限,以及 status 可接受的取值。剩下的小缺口是:更新是否會破壞既有內文(destructiveHint 為 true),以及會回傳什麼結果。

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?

結構描述已涵蓋 100% 的參數,因此基準分為 3;不過描述新增了 schema 中沒有的驗證限制(body 最多 2000 字),並再次列出完整的 status 值集合。這是超出結構描述所述內容的實質補充。

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?

使用具體的動詞詞組「新增或更新……筆記」,並限定了資源範圍(目前登入者、指定機構),因此本工具與 get_note、list_notes、delete_note 的區別一目了然。它沒有明確指名同類工具,但 upsert 的語義已經明確表達出來。

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

Usage Guidelines3/5

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

「新增或更新」隱含地告訴 agent 不必先以 get_note 檢查筆記是否已存在,因此使用情境只是被暗示,並沒有說明。描述中沒有明確何時改用其他同類工具,也沒有說明排除條件或前置條件。

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