Skip to main content
Glama

search_members

Read-onlyIdempotent

Search and filter members/accounts. Supports text search, date ranges, booking/activity history, membership tier, tags, and more. Use lastBookingBefore/inactiveDays to find inactive members.

Input Schema

NameRequiredDescriptionDefault
sortNoSort column: name, email, or createdAt
limitNoMax results (default 20)
orderNoSort order
searchNoName, email, or phone to search
sourceNoFilter by account source
tagIdsNoFilter by tag IDs
tierIdNoFilter by membership tier ID
lifeStageNoFilter by life stage
hasBookingNoFilter to members with/without any booking
createdAfterNoISO date — accounts created after this date
inactiveDaysNoMembers with no activity in the last N days
createdBeforeNoISO date — accounts created before this date
hasMembershipNoFilter to members with active membership
lastBookingAfterNoISO date — members who have a booking after this date
membershipStatusNoFilter by membership status
lastActivityAfterNoISO date — members with activity after this date
lastBookingBeforeNoISO date — members whose last booking is before this date (or have no bookings)
lastActivityBeforeNoISO date — members with no activity since this date

Output Schema

NameRequiredDescriptionDefault
dataYesTool result payload — shape varies per tool, see the tool description
summaryYesOne-line human-readable summary of the action
renderTypeYesUI rendering hint for the result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lifeStage / enum
      Previous value: -[
      -  "lead",
      -  "active",
      -  "churned",
      -  "vip"
      -]New value: +[
      +  "lead",
      +  "active",
      +  "churned",
      +  "vip",
      +  "prospect"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the notable behavioral fact that lastBookingBefore also matches members with no bookings at all, but says nothing about result caps, pagination, or default ordering beyond what the schema states.

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 tight sentences with the core purpose front-loaded, followed by capability breadth and a high-value use case. No filler or repetition, and it stays readable despite an 18-parameter surface.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Combined with a fully documented schema, the description supplies enough context to invoke the tool correctly, though the lack of sibling routing is the remaining gap.

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% with 18 self-documented parameters, so the schema carries parameter meaning. The description only highlights the inactive-member filters, which the schema already documents, adding no syntax or interaction guidance (e.g., how inactiveDays combines with lastActivityBefore).

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?

States a specific verb+resource ('Search and filter members/accounts') and enumerates the filter surface. It does not differentiate from nearby siblings such as list_contacts, get_member_profile, or get_segment_members, so an agent must infer which member-listing tool to pick.

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?

Offers one concrete scenario ('Use lastBookingBefore/inactiveDays to find inactive members'), which is useful task framing. However it names no alternatives or exclusions, and never says when a different member-retrieval tool is preferable.

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.