Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Search

search
Read-onlyIdempotent

Search an organization's conversations, contacts, knowledge entries, and messages in one call, returning top matches and totals per type. Use queries and filters to find records by sender, subject, status, attachment, or date.

Instructions

Search conversations, contacts, knowledge entries and messages of an organization in one call. Returns the top matches per type with the total count per type. Words are AND-ed and prefix matched. Use "quoted phrases", -word to exclude, and the operators from:, subject:, is:<open|closed|unread|read|assigned|unassigned|ai>, has:<attachment|draft>, before:, after:.

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": {
      "organizationId": "<organizationId>",
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per type (default 5, max 20).
queryYesSearch text, at least 2 characters.
organizationIdYesThe organization id. Use organization_list to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the safety profile is settled. The description adds genuine behavior the annotations cannot convey: it returns top matches per type with a total count per type, and it discloses matching semantics (words AND-ed, prefix matched).

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

Conciseness4/5

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

Two sentences, front-loaded with what is searched and what comes back before the syntax detail. The operator enumeration is long but every item carries information an agent needs; only the 'in one call' phrasing is mildly redundant.

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 fills that gap by explaining the result shape (top matches plus totals per type). Parameters are fully covered by the schema. It does not state result ordering/relevance or how totals behave against the limit, which is a minor residual gap for a search tool.

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 100%, so all three parameters are already documented, giving a baseline of 3. The description does add query-language meaning beyond the schema (quoted phrases, -word exclusion, from:/subject:/is:/has:/before:/after: operators), but it leaves limit and organizationId entirely to the schema.

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 states a specific verb and enumerates the exact resources covered (conversations, contacts, knowledge entries, messages) and scopes them to an organization, so an agent knows precisely what this tool reaches. It stops short of naming when a sibling such as knowledge_search would be the better pick, which keeps it below a 5.

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 'in one call' framing implies this is the broad, multi-type search, but there is no explicit when-to-use / when-not-to-use guidance and no reference to alternatives like knowledge_search despite the overlap on knowledge entries. The bulk of the guidance is query syntax rather than tool selection.

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

Deploy Server

Other Tools