Skip to main content
Glama

Rex Software MCP by usefulapi

Search users

rex_search_users
Read-only

Search the users (staff) of the agency account. Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: first_name, last_name, email, status, user_group_id. User ids are used elsewhere as agent, assignee and remindee ids. POST /v1/rex/AccountUsers/search.

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, 1-100 (default 20).
offsetNoRows to skip (default 0). Use next_offset from the previous reply.
criteriaNoFilters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields.
order_byNoSort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them).
search_stateNoWhich records to search: active (default), archive or trash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real behavioral context: filters combine with AND, results are paged via offset/limit, and next_offset indicates where to continue. That paging contract is the key non-obvious behavior. It stops short of describing what the response objects contain beyond the id.

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?

Five short sentences, front-loaded with the core purpose, then paging, then field hints and the endpoint. Nothing is padding; even the endpoint line is a compact operational detail.

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 parameterless-required, nested-criteria search tool with no output schema, the description covers scope, filter semantics, paging and field discovery. The main gap is the response shape — it is unclear whether 'Useful fields' are searchable inputs or returned attributes, which an agent must know without an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds value by naming concrete searchable fields (first_name, last_name, email, status, user_group_id) and clarifying the offset/limit/next_offset paging loop, though the AND-combination rule largely duplicates the schema's criteria description.

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 with scope: 'Search the users (staff) of the agency account.' It is unambiguously distinct from the many other rex_search_* siblings (contacts, listings, deals) and adds that returned user ids serve as agent/assignee/remindee ids elsewhere, which tells an agent exactly what this tool yields.

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?

The line 'User ids are used elsewhere as agent, assignee and remindee ids' gives a concrete when-to-use signal, and pointing at rex_describe_search_fields implies the field-discovery prerequisite. However, it never states when NOT to use it (e.g. vs rex_get_user_profile for a single user, or rex_autocomplete_contacts), so there is no explicit alternative routing.

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.