Skip to main content
Glama
Evermail MCP Server

Evermail MCP Server

Create saved search

create_saved_search

Create a new saved search filter from a JSON definition to reuse email queries while preserving existing saved searches and plan limits.

Instructions

Create a new saved search filter. Adds a new entry and never changes or removes existing ones. Respects the plan's saved-search limit.

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": {
      "name": "<name>",
      "definitionJson": "<definitionJson>"
    },
    "name": "create_saved_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the saved search
definitionJsonYesJSON search definition (for example {"from":"alice@example.com","hasAttachments":true})

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation profile is largely covered. The description still adds real value by stating the operation is purely additive and that a plan-level saved-search limit applies, which is a quota constraint the annotations do not convey. It does not say what happens when the limit is hit (error vs. eviction), leaving the most important behavioral edge case unaddressed.

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?

Three short sentences, front-loaded with the action, then the additive guarantee, then the quota constraint. No redundant wording and nothing buried.

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 two-parameter create tool with full schema coverage and annotations present, the description is nearly complete: it covers the action, the additive semantics, and the quota. The only gap is the absence of any statement about the return value (such as the created search's identifier), which matters since there is no output schema.

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 description coverage is 100% and both parameters carry inline descriptions plus a concrete JSON example for definitionJson, so the schema carries the burden. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 opens with a specific verb and resource ("Create a new saved search filter"), which clearly distinguishes it from list_saved_searches and from search_emails, which executes a search rather than storing one. It stops short of naming any sibling explicitly, so the differentiation is inferable rather than stated.

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 the right context (persisting a reusable filter) and clarifies the additive, non-mutating nature of the operation, but it never states when to use this instead of just running search_emails or editing an existing saved search. Usage must be inferred from the tool name and the 'never changes or removes existing ones' remark.

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