Skip to main content
Glama

刪除機構筆記

delete_note
Destructive

刪除目前登入者對指定機構的筆記(需 Authorization Bearer)。

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": "delete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
facility_idYes機構編號

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely useful context beyond that — an Authorization Bearer requirement and the restriction that only the caller's own note can be deleted — but says nothing about what happens when no note exists or whether the call is idempotent.

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?

One short sentence with the action and scope front-loaded and the auth requirement parenthetically appended; nothing is wasted. It is slightly too terse to be a model of structure, but efficient.

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

Completeness3/5

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

For a single-parameter, single-target destructive operation whose annotations carry the safety profile, the definition covers the essentials plus the auth requirement. It is nonetheless thin on failure modes (note absent, unauthorized) that an agent calling a destructive tool would want to know.

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

Parameters3/5

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

Schema coverage is 100% for the single facility_id parameter, whose description (機構編號) is already in the schema. The description restates it only as '指定機構' without adding format or validation detail, so the baseline 3 applies.

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 (刪除) plus resource (筆記) and narrows the scope to the current logged-in user's note for a given facility, which separates it from get_note and upsert_note. It does not explicitly name those siblings, so differentiation is inferred rather than stated.

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?

Scope ('目前登入者的筆記') implies usage: this is the tool for removing your own note, not another user's. But there is no explicit when-to-use versus upsert_note/get_note guidance, no mention of prerequisites such as the note already existing, and no warning that a deletion is final.

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