Skip to main content
Glama

save_note_insight

DestructiveIdempotent

Generate and save an AI insight for a specific note. Upserts based on the combination of note, insight type, and target language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe insight content text
insight_typeYesThe type of insight to save
target_languageNoTarget language code for translations (e.g., 'es', 'fr', 'de'). Required when insight_type is 'translate'.
local_recording_idYesThe local recording ID of the note (from localRecordingId field)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
contentYesInsight text
insightTypeYesKind of insight, e.g. summary, action_items, translate
targetLanguageYesLanguage code for translations, otherwise null
localRecordingIdYesDevice-local ID of the note the insight belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true; the description adds the concrete upsert key (note + insight type + target language), which explains both why repeated calls are idempotent and what existing row gets overwritten. It does not explicitly say prior content is replaced, but the upsert wording carries most of that.

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 tight sentences with the purpose front-loaded and the upsert semantics immediately following; no filler, every clause earns its place.

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?

An output schema exists so return values need no explanation, and the upsert behavior is disclosed. The one remaining ambiguity is what 'generate' entails (whether an LLM call occurs or content must be supplied), but the required content parameter largely resolves that.

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 description coverage is 100%, so the schema already documents all four parameters including the enum values and the target_language/translate relationship. The description restates the upsert key but adds no format or syntax detail beyond structured fields, so 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?

'Generate and save an AI insight for a specific note' states a clear verb (generate/save) and resource (AI insight on a note), and 'generate' implies a write, distinguishing it from the read-oriented sibling get_note_insights. It stops short of naming the sibling explicitly, so it is clear but not fully differentiated.

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 description implies usage (persist an AI insight onto a note) and the upsert sentence conveys repeat-call behavior, but it never states when to use this vs. get_note_insights or other siblings, nor any prerequisites. Usage is inferable rather than explicit.

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