Skip to main content
Glama

m365_users_list

Read-onlyIdempotent

List users in your Microsoft 365 organization; filter with OData or search by display name or email to locate accounts.

Instructions

List users in your organization (requires delegated User.Read.All with admin consent)

Input Schema

NameRequiredDescriptionDefault
topNoMax results
filterNoOData filter
searchNoSearch by displayName or mail

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.0
    • addedInput schema / properties / top / maximum
      Added value: +500
    • addedInput schema / properties / top / minimum
      Added value: +1
    • changedInput schema / properties / top / type
      Previous value: -"number"New value: +"integer"
  2. First observedv1.0.7

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly focuses on supplemental context: the delegated User.Read.All permission and admin-consent requirement, which is real activation friction an agent should know. It omits pagination behavior for large directories, which keeps it from a 5.

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?

A single front-loaded sentence: purpose first, then the auth constraint in parentheses. Zero wasted words.

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

Completeness3/5

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

For a simple read-only list tool with full schema coverage and annotations, the description covers purpose and permissions, but leaves out result-volume behavior (no mention of pagination or that top caps at 500), which matters for directory listing.

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 top/filter/search are fully documented in the schema and the baseline of 3 applies. The description adds nothing about filter syntax (OData), search semantics, or result limits beyond what the schema already provides.

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: 'List users in your organization'. This clearly distinguishes it from sibling m365_users_profile (single user) and m365_contacts_people_list, though it never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance. It does not say whether to use this vs. m365_users_profile for a single lookup, or vs. m365_contacts_people_list for people search. The agent must infer usage from the tool name alone.

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