Skip to main content
Glama

search_semantic

Read-onlyIdempotent

Find semantically similar Obsidian notes using cosine similarity embeddings. Searches all vaults by default; filter by vault or exclude paths.

Instructions

Semantic search via embedding cosine similarity. Searches all vaults by default.

Input Schema

NameRequiredDescriptionDefault
queryYes
top_kNo
vaultsNo
exclude_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-rc.5

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful scoping default ('searches all vaults by default'), but says nothing about ranking, limits, or performance characteristics.

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?

Two short, front-loaded sentences with no filler. Efficient, though minimal content means it is not doing much work.

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

Completeness2/5

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

No output schema and no parameter documentation; for a 4-parameter search tool with rich siblings, the definition leaves too much unspecified about scoping, ranking, and result limits.

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

Parameters2/5

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

Schema description coverage is 0% for all four parameters. The description only hints at the vaults parameter's default behavior ('all vaults by default') and says nothing about query, top_k, or exclude_paths, leaving the agent to infer semantics from names alone.

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 names a specific verb+resource (semantic search) and explains the mechanism (embedding cosine similarity), which distinguishes it from the sibling search_text and search_hybrid tools. It is clear, though it doesn't explicitly name those siblings.

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

Usage Guidelines2/5

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

It gives no when-to-use or when-not guidance relative to search_text, search_hybrid, or recall. The only contextual cue is the implicit 'semantic' framing, which the agent must infer.

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