Skip to main content
Glama
BiteFoundry Teams MCP Server

BiteFoundry Teams MCP Server

list_members

Read-onlyIdempotent

List members of a Teams chat or channel to retrieve user IDs and display names for @-mentions or presence checks, with pagination and optional cached or offline reads.

Instructions

List members of a chat or channel with Entra user_id and display_name for @-mentions or get_presence (use search_users for directory lookup). Calls Graph (1+ requests) unless cursor or offline=true reads the local SQLite cache only. Returns paginated { conv_key, title, members, returned, has_more, next_cursor, total }.

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": {
      "target": "<target>"
    },
    "name": "list_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of members to return per page (1..1000, default 50).
cursorNoOpaque next_cursor from a previous page; reads the next page from the local SQLite cache without calling Microsoft Graph.
targetYesConversation conv_key (chat:... or chan:team:channel), "Team/Channel", or unique conversation title substring.
offlineNoRead cached members from the local SQLite cache without calling Microsoft Graph (errors if members were never cached).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • changedInput schema / properties / cursor / description
      Previous value: -"next_cursor from the previous page; reads the next page from the local cache without calling Microsoft Graph."New value: +"Opaque next_cursor from a previous page; reads the next page from the local SQLite cache without calling Microsoft Graph."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of members to return per page (1..1000, default 50)."
    • changedInput schema / properties / offline / description
      Previous value: -"Read cached members from the local SQLite cache without calling Microsoft Graph."New value: +"Read cached members from the local SQLite cache without calling Microsoft Graph (errors if members were never cached)."
    • addedInput schema / properties / target / description
      Added value: +"Conversation conv_key (chat:... or chan:team:channel), \"Team/Channel\", or unique conversation title substring."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses that calls hit Microsoft Graph with 1+ requests unless cursor or offline=true is used, in which case it reads the local SQLite cache only. It also documents the paginated return shape, adding useful operational context.

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?

The description is front-loaded with the purpose, then usage guidance, then behavioral and return details. The wording is dense but every sentence contributes useful information.

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?

Given the rich annotations, fully described schema, and no output schema, the description still covers return fields and pagination shape. An agent has enough information to select and invoke the tool correctly.

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 target, limit, cursor, and offline are already well documented. The description reinforces cursor/offline cache behavior but adds little semantic detail beyond what the schema already states.

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?

The description states a specific verb and resource: list members of a chat or channel. It also gives the immediate purpose (Entra user_id and display_name for @-mentions or get_presence) and distinguishes itself from search_users for directory lookup.

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

Usage Guidelines5/5

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

It explicitly directs directory lookups to search_users and frames the tool for @-mentions or get_presence use. It also explains the cache-related conditions for cursor and offline=true, leaving little ambiguity about when to use it.

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