Skip to main content
Glama
mailbox-org-mcp
by getrdone

Search contacts

mailbox_search_contacts
Read-only

Search mailbox.org address books by name, email, phone, company, or category to locate contacts. Returns each contact's href for follow-up save or delete actions.

Instructions

Search the mailbox.org address book(s) by name, email, phone, company or category. Empty query lists everyone. Returns each contact's href for mailbox_save_contact / mailbox_delete_contact.

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": "mailbox_search_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
address_bookNoLimit to one address book by name
response_formatNo'markdown' for readable text (default), 'json' for complete structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true), and the description adds real behavioral context beyond them: the empty-query case returns the whole address book, and results carry an href that is the input key for downstream save/delete calls. It does not mention result-size limits, the default page of 50, or pagination, which would be the remaining useful disclosures.

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, each earning its place: capability and scope first, then the edge-case rule, then the return contract. No repetition of the title or of schema-declared annotations.

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?

With no output schema, the description correctly spends one sentence on what comes back (each contact's href) and how it feeds sibling tools. The gaps are the undocumented pagination parameters and what fields besides href a contact record contains; for a five-parameter read-only search these are modest omissions rather than blocking ones.

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 coverage is only 40%, so the description needs to carry weight: it does explain that query is a free-text match across name, email, phone, company and category, and that multiple address books exist ('address book(s)'). However, limit, offset and the paging contract are undocumented in both places, so the compensation is partial.

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?

States a specific verb and resource (search the mailbox.org address book) and enumerates the searchable fields (name, email, phone, company, category), which tells an agent exactly what this retrieves. It also names the sibling tools (mailbox_save_contact / mailbox_delete_contact) that consume the returned href, so it is distinguishable from the message-search and contact-mutation siblings without opening a schema.

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

Usage Guidelines4/5

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

Gives a concrete usage rule in 'Empty query lists everyone', which is the main ambiguity for a default-empty query parameter. It also implies the lookup-then-mutate workflow by pointing at the tools that take the returned href. It stops short of explicit when-not guidance or naming the message-search sibling as the alternative for non-contact searches.

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