Skip to main content
Glama

semantic_search

Search strategy docs, meeting transcripts, and coding sessions by meaning rather than keywords to find relevant passages. Filter results by life context, participant, source type, or date range.

Instructions

Search strategy docs, Wispr meeting transcripts and Claude Code sessions by meaning, not just keywords. Returns the closest matches (top-k), so it is for finding relevant passages, not exhaustive lists; use list_meetings to enumerate every meeting matching a context/person/date. Every source is tagged with a life context: work, mable (side project), therapy, mentorship, personal, or other. Use the context filter whenever the question is about one area.

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": {
      "query": "<query>"
    },
    "name": "semantic_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default: 5, max: 20)
queryYesThe search query - describe what you're looking for
contextNoOnly return content tagged with this life context (primary or secondary). work = day job, mable = side-project app, therapy = therapy sessions, mentorship = mentoring calls, personal = dating/friends/family/own reflections.
afterDateNoOnly return transcripts on or after this date (YYYY-MM-DD). Automatically scopes to transcripts.
beforeDateNoOnly return transcripts on or before this date (YYYY-MM-DD). Automatically scopes to transcripts.
participantNoOnly return Wispr meetings this person spoke in (case-insensitive name match, includes speakers inferred from the transcript). Scopes to Wispr transcripts.
sourceTypesNoFilter by source type. Omit to search all sources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses ranking behavior (returns closest top-k matches, not complete sets) and that sources are tagged with a life context. It omits auth/rate-limit behavior and says little about result shape, but the core behavioral profile is clear for a read search.

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 purpose and method, then the key exclusion, then context guidance. Five sentences each contribute, though the life-context enumeration is somewhat verbose against an enum already in the schema.

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 7-parameter semantic search with no output schema, the description covers ranking behavior, source coverage, and context tagging adequately. A note on result format or the granola-transcript source would round it out, but it is largely complete.

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 coverage is 100%, so the schema already documents query, limit, context, dates, participant and sourceTypes. The description reinforces the context filter's purpose but adds little syntax or format detail beyond what the schema provides, so the baseline 3 holds.

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 set ('Search strategy docs, Wispr meeting transcripts and Claude Code sessions') plus the distinguishing method ('by meaning, not just keywords'). It also names a sibling (list_meetings) it is not, so an agent can differentiate without opening 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?

Explicitly frames this as top-k passage retrieval 'not exhaustive lists' and routes enumeration needs to list_meetings. It also gives a conditional rule: 'Use the context filter whenever the question is about one area.'

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