Skip to main content
Glama

search_meaning

Semantic search: find the beyts closest in MEANING to the query, in ANY language — English, Persian, Spanish, Turkish, Arabic, … . Use this when you have a theme, feeling, or idea rather than exact Persian words (e.g. 'feeling separated from your origin' → M1:1). Each hit carries a cosine-similarity score. status='unavailable' means the vector index is not built yet — fall back to search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesWhat the verse should MEAN, in any language
daftarNoRestrict to a single daftar (1-6)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
queryYes
statusNo'ok' | 'unavailable' (index not built / no key) | 'error'ok
resultsNo
total_indexedNo

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses that results include a cosine-similarity score and that a status field of 'unavailable' indicates the vector index is not built, with a fallback. It does not mention auth, rate limits, or ordering, but the key behavioral traits for a search tool are covered.

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, front-loaded with the core purpose, and the second sentence packs essential details (score, status, fallback) without redundancy. Every clause earns its place, making it precise and highly scannable.

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?

The description covers the semantic nature, multi-language capability, a worked example, the similarity score field, the unavailable status, and the fallback to `search`. With an output schema present, return values need not be repeated. This is a complete yet concise description for a tool of this complexity.

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?

The schema already provides descriptions for `query` and `daftar`, covering 67% of parameters. The description reinforces the meaning-based semantic of `query` with an example, but adds no syntax or edge-case details. `limit` is self-explanatory. Given high schema coverage, baseline 3 is appropriate.

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?

The description clearly states the tool performs semantic search ('find the beyts closest in MEANING'), specifies it works in ANY language, and provides a concrete example ('feeling separated from your origin' → M1:1). This distinguishes it from sibling tools like 'search' which presumably match exact words, making the purpose unmistakable.

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 guidance is given on when to use this tool: 'when you have a theme, feeling, or idea rather than exact Persian words'. It also directly names an alternative and provides a fallback condition: if status='unavailable', fall back to `search`. This is clear, actionable, and differentiates from siblings.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool clearly targets a distinct operation: commentary, section title search, range retrieval, section retrieval, specific beyt lookup, random selection, full-text search, semantic search, table of contents, and quote verification. No overlap in purpose.

Naming Consistency3/5

Names are a mix of single verbs (explain, lookup, verify, search) and verb_noun with underscores (find_sections, get_range, get_section, search_meaning, random_beyt, table_of_contents). While readable, the lack of a uniform pattern reduces consistency.

Tool Count5/5

With 10 tools, the server covers all essential operations for exploring and verifying Masnavi content without being overwhelming. The count is well-scoped for its purpose.

Completeness5/5

The tool surface is comprehensive for a reference server: browsing, various search modes, targeted retrieval, commentary access, and quote verification. No obvious gaps for typical user queries.