Skip to main content
Glama
gamalan

mcp-email-client

by gamalan

semantic_search_emails

Search emails by semantic similarity to find relevant messages. Specify query text and optional filters to retrieve matching results.

Instructions

Search emails using semantic similarity

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoEmail configuration name (optional)
limitNoMaximum number of results (default: 10)
queryYesSearch query text
similarity_thresholdNoMinimum similarity score (0-1) to include in results (default: 0.6)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided and the description only says 'search', giving no explicit statement about side effects, read-only behavior, or other behavioral nuances. The word search implies non-destructive operation, but the description alone does not disclose this clearly.

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?

The description is a single concise sentence with no unnecessary words or repetition, making it easy to parse.

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

Completeness3/5

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

For a simple search tool with a complete input schema, the description is minimally adequate, but it does not mention return format, default behavior, or how semantic search differs from the sibling search_emails, leaving some context missing.

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 JSON schema already describes all four parameters with reasonable clarity (query, optional name, limit, similarity_threshold). The description adds no extra parameter meaning, so it stays at the baseline.

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?

Clearly states the tool searches emails using semantic similarity, identifying the resource (emails), action (search), and method (semantic similarity), which distinguishes it from keyword-based search siblings.

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 use for semantic/meaning-based search rather than keyword matching, but it does not explicitly state when to choose this tool over the sibling search_emails or other email retrieval tools.

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