Skip to main content
Glama

Contextli Voice Notes

Search Notes

contextli_search_notes
Read-onlyIdempotent

Search the user's Contextli voice notes and transcriptions by keyword or phrase. Use this when the user is looking for notes about a topic, person, or phrase they remember saying. Performs a case-insensitive match across the note text and returns matching notes newest first, each with a short snippet around the match. Optionally narrow by date range, by a context id (get valid ids from contextli_list_contexts), or by labels (user-assigned tags on notes; matches notes carrying ANY of the given labels, case-insensitive). Supports pagination via limit and offset. For browsing without a keyword, use contextli_get_notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of notes per page (max 100, default 20).
queryYesThe keyword or phrase to search for in the note text (case-insensitive).
labelsNoOptional list of labels (user-assigned note tags) to filter by. Returns notes carrying ANY of the given labels, matched case-insensitively.
offsetNoOffset for pagination. Use next_offset from the previous response.
date_toNoOptional upper bound on note creation date, inclusive. ISO date or datetime, e.g. 2026-06-30.
date_fromNoOptional lower bound on note creation date, inclusive. ISO date or datetime, e.g. 2026-01-01.
context_idNoOptional context (mode) id to restrict results to. Get valid ids from contextli_list_contexts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavior beyond them: case-insensitive matching, newest-first ordering, a short snippet around the match, and ANY-of-label semantics. It does not mention auth requirements or rate limits, so not a full 5.

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?

Front-loaded with the core purpose and usage, then narrowing filters, then pagination, then the alternative. Every sentence carries information, though it runs somewhat long across five sentences.

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

Completeness5/5

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

For a 7-param search tool with no output schema, the description covers matching semantics, result ordering, snippet return, filter narrowing, and pagination, leaving nothing an agent needs to call it correctly unstated.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by explaining that labels match ANY of the given labels case-insensitively, that date params are narrowing bounds, and that limit/offset drive pagination. This is additive context rather than restatement.

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 (search) and resource (the user's Contextli voice notes/transcriptions) with scope (keyword or phrase, case-insensitive, across note text). It clearly distinguishes itself from contextli_get_notes (browsing) and contextli_filter_notes_by_label, so an agent can pick it without opening other schemas.

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

Usage Guidelines5/5

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

Explicit when-to-use ('when the user is looking for notes about a topic, person, or phrase they remember saying') and names the alternative for the no-keyword case ('For browsing without a keyword, use contextli_get_notes'). It also routes the agent to contextli_list_contexts to obtain valid context ids.

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