Skip to main content
Glama

Search or resolve people and groups

dm.search_identities
Read-onlyIdempotent

Search the Identity Ledger (people and groups) of the authenticated workspace. Filter by identity_type, query substring and status, or fetch one identity by id (a group also lists its active members). resolve_name does exact-name resolution (display name or alias of an active identity) and returns outcome=match|ambiguous_match|no_match with candidate ids instead of fuzzy-assigning. Read-only. Contact fields (email, notes, linked user) are only returned to a delegated human who may manage workspace members; ids are canonical.

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": "dm.search_identities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoCase-insensitive substring of the display name (and email for admins).
offsetNo
statusNoactive (default) or archived.active
identity_idNoFetch exactly this identity by canonical id (any status). For a group the result also lists its active members. Cannot be combined with other filters.
resolve_nameNoExact-name resolution: match the normalized display name or an alias of an ACTIVE identity. One match -> outcome=match; several -> outcome=ambiguous_match with candidate ids (never fuzzy-assigned); none -> outcome=no_match.
identity_typeNoRestrict to person or group; omit for both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent safety, so the description earns credit for adding permission and data-exposure context: contact fields (email, notes, linked user) are only returned to a delegated human who may manage workspace members, and ids are canonical. It does not describe result volume, pagination behavior, or what a no-match response looks like beyond the outcome label.

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?

Three tight sentences, front-loaded with the resource and modes, then the resolution semantics, then the permission caveat. Dense but every clause carries information; only mild packing of multiple modes into one sentence costs it a point.

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

Completeness5/5

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

For a 7-parameter read tool with no output schema, the description covers the one non-obvious return contract (the outcome enum for resolve_name) and the conditional visibility of contact fields. Pagination being undocumented is a minor gap given limit/offset are self-explanatory schema fields.

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 71% and the schema already documents query substring semantics, status enum, identity_id exclusivity, and resolve_name outcomes. The description restates these modes at a high level without adding format, normalization, or edge-case detail (e.g., how limit/offset interact with resolve_name), so the baseline 3 applies.

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 and resource ('Search the Identity Ledger (people and groups) of the authenticated workspace') and enumerates the three operating modes: filtered search, fetch-by-id, and exact-name resolution. An agent can distinguish these modes without opening the schema, though it gets no explicit contrast against siblings like dm.ensure_identity or dm.update_identity.

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?

Clear internal routing guidance: filter by identity_type/query/status, fetch one record via id, or use resolve_name when exact-name resolution with match/ambiguous_match/no_match outcomes is wanted rather than fuzzy assignment. The gap is that it never says when to prefer this tool over the identity-mutating or ensuring siblings.

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