Skip to main content
Glama

Mailbase

search_emails

Read-onlyIdempotent

Search the public gallery. At most 60 results per page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
sortNo
brandNo
limitNo
layoutNo
industryNo
campaignTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds only a page-size cap, which duplicates the limit parameter's maximum=60 in the schema, and says nothing about result ordering, whether paging beyond a cap is possible, or what a result entry contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded, with no filler wording. The problem is under-specification rather than verbosity, so it reads cleanly but conveys too little to justify its brevity.

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

Completeness1/5

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

With eight optional parameters at 0% schema coverage, no output schema, and a resource label that conflicts with the tool name, the definition leaves an agent without enough to call it correctly. Nothing explains what the returned records are, how sorting interacts with paging, or how the filters combine.

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% across eight parameters, so the description carries the full burden and largely fails: q, page, sort, brand, layout, industry, and campaignType are never explained. Only the 60-per-page limit is echoed, and even that repeats the schema's maximum=60 rather than adding meaning to it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does contain a verb and a resource ('Search the public gallery'), but the resource contradicts the tool name 'search_emails' and the sibling set (get_email, list_brands, list_flows), which implies email objects rather than gallery items. An agent cannot tell from this sentence what it is actually searching or how it differs from get_email.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no exclusions, and no reference to the sibling tools that perform related retrieval. 'At most 60 results per page' is a constraint on results, not guidance on selecting this tool.

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.

Resources