Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

search_users_by_attribute

Search Okta users by any profile attribute, such as department, title, or location, to find matching accounts.

Instructions

Search users by any profile attribute (division, department, title, location, etc.).

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": {
      "attribute": "<attribute>",
      "value": "<value>"
    },
    "name": "search_users_by_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
valueYes
attributeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers very little: 'search' implies a read, but nothing is said about permissions, result volume, pagination, or cost. The existence of a limit parameter with a default of 200 hints at a capped result set, yet the description never mentions that cap or what happens when it is hit.

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?

A single sentence, front-loaded with the verb and resource, with the qualifier immediately after and no padding. Nothing is wasted, though the brevity contributes to the missing match-semantics information.

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

Completeness2/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 shape need not be explained, but for a search tool whose neighbors include a fuzzy variant, the critical question of exact-versus-partial matching is left unanswered, and the limit parameter is invisible in the description. Against zero annotation coverage and zero schema coverage, the description does too little to be safely callable.

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 0%, so the schema gives no meaning for any of the three parameters; the description partially compensates by enumerating valid-style values for 'attribute' (division, department, title, location). It adds nothing about 'value' — notably whether matching is exact, prefix, or case-insensitive — and nothing about 'limit'.

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 pairs the specific verb 'Search' with the resource 'users' and adds the narrowing mechanism 'by any profile attribute', so an agent knows this is an attribute-keyed lookup rather than a free-text or ID lookup. It does not name any sibling, so the differentiation from search_users and search_users_fuzzy must be inferred from the parenthetical examples.

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?

Usage is only implied: the parenthetical attribute examples signal that this tool is for cases where the caller already knows the field to match on. There is no explicit guidance on when to prefer it over search_users or search_users_fuzzy, and no stated prerequisites or exclusions.

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