Skip to main content
Glama
BiteFoundry Teams MCP Server

BiteFoundry Teams MCP Server

get_presence

Read-onlyIdempotent

Fetch current Microsoft Teams availability and activity status for the signed-in user or a batch of Microsoft Entra user IDs to check who is available.

Instructions

Fetch current Microsoft Teams availability and activity status for the signed-in user or a batch of Entra user IDs (use search_users or list_members first to look up user IDs). Costs 1 Graph request per 650 user IDs. Requires delegated Presence.Read (self) or Presence.Read.All (others). Returns { presence } when user_ids is omitted, or { presences } when provided.

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": "get_presence"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idsNoOptional list of Microsoft Entra user IDs to query in batch. Omit to fetch only the signed-in user's presence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / user_ids / description
      Previous value: -"Optional Entra user IDs. Omit to fetch current user's presence."New value: +"Optional list of Microsoft Entra user IDs to query in batch. Omit to fetch only the signed-in user's presence."
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already establish that this is a safe, read-only, idempotent operation. The description adds meaningful context beyond them: delegated permission requirements, request cost per 650 IDs, and return shape differences between self and batch calls.

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 three tight sentences, front-loaded with the core purpose. It includes permissions, cost, lookup guidance, and return shape without unnecessary repetition.

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 one-parameter read-only tool without an output schema, the description supplies everything an agent needs: purpose, self versus batch behavior, lookup prerequisites, permissions, cost, and return structure.

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 schema already documents the optional user_ids parameter. The description still adds useful meaning by clarifying that these are Entra user IDs, that omitting them returns self-presence, and that lookup helpers should be used first.

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 uses a specific verb and resource: fetch current Microsoft Teams availability and activity status. It clearly explains the self versus batch modes and distinguishes presence lookup from sibling tools such as search_users and list_members.

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 tells the agent to omit user_ids for the signed-in user or provide Entra user IDs for a batch. It also routes the agent to search_users or list_members first when IDs need to be looked up, leaving little ambiguity about when and how to use the tool.

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