Skip to main content
Glama

note_upsert

Create or update study notes as briefs, background context, weekly summaries, or final reports; saving a brief automatically advances progress to the next stage.

Instructions

写笔记:brief(领域简报)/ backdrop(领域底色)/ weekly(周报)/ report(结课)。写 brief 后自动 B→C。

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": {
      "session_id": "<session_id>",
      "kind": "<kind>",
      "body_md": "<body_md>"
    },
    "name": "note_upsert"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
body_mdYes
sourcesNo
audienceNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose one side effect — '写 brief 后自动 B→C' — but the 'B→C' state transition is unexplained jargon, and there is nothing about whether an upsert overwrites existing note content, how sources/audience affect the write, or any permission/authorization requirement for a mutation 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 definition is a single short, front-loaded sentence with no padding, which is structurally sound. But it is terse to the point of under-specification, and the opaque 'B→C' token spends characters without conveying usable meaning.

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

Completeness2/5

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

This is a 5-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage; the description covers only the kind taxonomy. Critical details — what upsert does to an existing note, what session_id refers to, what sources/audience control, and what the caller gets back — are all absent.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must compensate. It adds real meaning only for `kind`, glossing each enum value that the schema lists but does not explain. The other four parameters — body_md, sources, audience, session_id — receive no semantics whatsoever, leaving most of the input surface unexplained.

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 opens with a specific verb+resource ('写笔记' = write note) and enumerates the four note kinds with short glosses (brief=领域简报, backdrop=领域底色, weekly=周报, report=结课), so an agent knows exactly what domain object is being written. It falls short of a 5 because the 'upsert' semantics (create vs. overwrite) are never stated, and the sibling distinction from note_get/lesson_upsert is only implied by the verb.

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 kind enumeration implicitly tells the agent which note type to pick, which is a form of usage guidance. However, there is no explicit when-to-use vs. when-not, no mention of when to use note_get instead, and no prerequisites such as an active session — usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.