Skip to main content
Glama

覓安居

儲存機構筆記

upsert_note

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

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?

No annotations are provided, so the description must carry the full behavioral burden, and it does disclose meaningful traits: an auth requirement (Authorization Bearer), a hard body size ceiling (2000 chars), the allowed status values, and that the operation is scoped to the current logged-in user. Gaps remain: it does not say whether an existing note's body is replaced or merged on update, nor what the response contains after the write.

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?

Two compact sentences with the purpose and auth requirement front-loaded, followed by the two constraints that matter to the caller. Nothing is redundant with the schema beyond a harmless re-listing of status values.

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?

For a three-parameter mutation with no annotations and no output schema, the definition covers the essentials an agent needs: what it writes, who it writes for, auth needs, size limit, and valid status values. It is not fully complete because it omits update/overwrite semantics and any indication of the post-write result.

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 baseline is 3, but the description adds a real constraint the schema omits: the 2000-character maximum on body (the schema has no maxLength). It also enumerates the status values, which the schema already lists, so the net gain is the size limit plus confirmation of the empty/omitted sentinel meaning.

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 description states a specific verb and resource ('新增或更新……筆記', i.e. create-or-update a note) scoped to the current logged-in user and a target facility, which distinguishes it from siblings like get_note, delete_note, and list_notes by its write semantics. It stops short of naming a sibling explicitly, so it lands at a clear 4 rather than a 5.

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?

The upsert framing implies when the tool applies (writing or amending a user's own note on a facility), and the Authorization Bearer requirement signals an authenticated write context. However, there is no explicit when-not guidance, no mention of how it relates to get_note or delete_note, and no stated prerequisite that the facility must already exist.

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