Skip to main content
Glama

summarize_note

Extracts a note's headings, section-opening sentences, word count, and reading time to build a structural outline for generating summaries.

Instructions

Extract a structural outline of a note: headings, first sentence of each section, word count, and reading time. Use this as the basis for generating a summary.

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": {
      "path": "<path>"
    },
    "name": "summarize_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path to the note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the shape of the output (headings, first sentences, word count, reading time), and "extract" implies a non-mutating read. It omits what happens on a missing path, whether large notes are truncated, and does not explicitly state that the note is left untouched.

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 sentences, both load-bearing: the first defines the output contract, the second defines the intended use. The output enumeration is front-loaded and there is no redundant restatement of the tool name.

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?

With no output schema, the description correctly compensates by listing what is returned, and a one-parameter read tool needs little more. The remaining gap is minor: read-only behavior and failure modes on an invalid path are left implicit rather than stated.

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?

There is a single required parameter with 100% schema description coverage ("Vault-relative path to the note"), so the schema already does the work. The description adds no path syntax, constraint, or edge-case detail beyond what the schema states, which matches the baseline for high coverage.

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 uses a specific verb ("Extract") with a specific resource ("structural outline of a note") and enumerates the returned components: headings, first sentences, word count, reading time. That is enough to tell it apart from read_note (full content) and generate_summary_note (which produces prose). It stops short of naming the sibling it feeds into, so a 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 second sentence gives an implied workflow cue ("Use this as the basis for generating a summary"), which tells an agent this is a preparatory step. However, it never names generate_summary_note or read_note as the alternatives, and gives no when-not guidance (e.g., don't use for short notes, or when you need full content instead).

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