Skip to main content
Glama

Add a note

add_note

Save a new note for a user after checking existing notes to avoid duplicates. Include title, markdown body, and tags; returns the created note ID.

Instructions

Save a new note for the user. Call search_notes first to check whether a note on this topic already exists. Returns the id of the created note.

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": {
      "title": "<title>",
      "body": "<body>"
    },
    "name": "add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe note content, as markdown.
tagsNoLowercase single-word tags for grouping, e.g. ['seo'].
titleYesA short, specific title. Not a whole sentence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-idempotent write, so safety is covered structurally. The description adds real value by disclosing the return value (the created note's id) despite there being no output schema, plus the duplicate-check expectation. However, it never says whether an existing note blocks creation or is silently duplicated, which is the key behavioral risk for a non-idempotent create.

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?

Three short sentences, none redundant, with the action stated first and the prerequisite second. Nothing in it is filler or restatement of the title.

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 simple three-parameter create tool with no output schema and no nested objects, the definition covers purpose, prerequisite, and return value, which is most of what an agent needs. The one missing piece is duplicate-handling semantics, which matters given idempotentHint=false.

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?

All three parameters are fully documented in the schema, including title length bounds, markdown body format, and tag casing conventions. The description adds no field-level meaning beyond what the schema already states, so the baseline of 3 applies.

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 specific verb and resource ("Save a new note for the user") and adds the return value ("Returns the id of the created note"). Naming search_notes as the related read-side tool lets an agent place it immediately.

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

Usage Guidelines4/5

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

Gives an explicit pre-call workflow: "Call search_notes first to check whether a note on this topic already exists." That is clear when-to-use guidance tied to a named alternative, but it stops short of saying what to do if a match is found (skip the write, or create anyway), so the branch is left open.

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

Deploy Server

Other Tools